serde_json::de

Trait Read

source
pub trait Read<'de>: Sealed { }
Expand description

Trait used by the deserializer for iterating over input. This is manually “specialized” for iterating over &[u8]. Once feature(specialization) is stable we can use actual specialization.

This trait is sealed and cannot be implemented for types outside of serde_json.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'de, R> Read<'de> for &mut R
where R: Read<'de>,

Implementors§

source§

impl<'a> Read<'a> for SliceRead<'a>

source§

impl<'a> Read<'a> for StrRead<'a>

source§

impl<'de, R> Read<'de> for IoRead<R>
where R: Read,