pub struct IoRead<R>where
R: Read,{ /* private fields */ }Available on crate feature
std only.Expand description
EnCom input source that reads from a std::io input stream.
Implementations§
Trait Implementations§
Source§impl<'de, R> Read<'de> for IoRead<R>where
R: Read,
impl<'de, R> Read<'de> for IoRead<R>where
R: Read,
fn read_str<'s>(&'s mut self, _len: usize) -> Result<&'de str>
fn read_slice<'s>(&'s mut self, _len: usize) -> Result<&'de [u8]>
fn parse_int_any_pos(&mut self) -> Result<u64>
fn str_from_saved(&mut self) -> Result<&'de str>
fn save_start(&mut self)
fn save_end(&mut self)
fn clear_saved(&mut self)
fn get_saved(&mut self) -> &'de [u8] ⓘ
fn saved_is_empty(&self) -> bool
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