Struct serde_json::read::IoRead
source · pub struct IoRead<R>where
R: Read,{
iter: LineColIterator<Bytes<R>>,
ch: Option<u8>,
}
Expand description
JSON input source that reads from a std::io input stream.
Fields§
§iter: LineColIterator<Bytes<R>>
§ch: Option<u8>
Temporary storage of peeked byte.
Implementations§
Trait Implementations§
impl<'de, R> Read<'de> for IoRead<R>where
R: Read,
impl<R> Sealed for IoRead<R>where
R: Read,
Auto Trait Implementations§
impl<R> Freeze for IoRead<R>where
R: Freeze,
impl<R> RefUnwindSafe for IoRead<R>where
R: RefUnwindSafe,
impl<R> Send for IoRead<R>where
R: Send,
impl<R> Sync for IoRead<R>where
R: Sync,
impl<R> Unpin for IoRead<R>where
R: Unpin,
impl<R> UnwindSafe for IoRead<R>where
R: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more