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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, 'de, R> Read<'de> for &'a 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,