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,