Trait serde_cbor::de::Read [−][src]
Trait used by the deserializer for iterating over input.
This trait is sealed by default, enabling the unsealed_read_write feature removes this bound
to allow objects outside of this crate to implement this trait.
Implementors
impl<'a> Read<'a> for MutSliceRead<'a>[src]
fn next(&mut self) -> Result<Option<u8>>[src]
fn peek(&mut self) -> Result<Option<u8>>[src]
fn clear_buffer(&mut self)[src]
fn read_to_buffer(&mut self, n: usize) -> Result<()>[src]
fn take_buffer<'b>(&'b mut self) -> EitherLifetime<'b, 'a>[src]
fn read_into(&mut self, buf: &mut [u8]) -> Result<()>[src]
fn discard(&mut self)[src]
fn offset(&self) -> u64[src]
impl<'a> Read<'a> for SliceRead<'a>[src]
fn next(&mut self) -> Result<Option<u8>>[src]
fn peek(&mut self) -> Result<Option<u8>>[src]
fn clear_buffer(&mut self)[src]
fn read_to_buffer(&mut self, n: usize) -> Result<()>[src]
fn read<'b>(&'b mut self, n: usize) -> Result<EitherLifetime<'b, 'a>>[src]
fn take_buffer<'b>(&'b mut self) -> EitherLifetime<'b, 'a>[src]
fn read_into(&mut self, buf: &mut [u8]) -> Result<()>[src]
fn discard(&mut self)[src]
fn offset(&self) -> u64[src]
impl<'a, 'b> Read<'a> for SliceReadFixed<'a, 'b>[src]
fn next(&mut self) -> Result<Option<u8>>[src]
fn peek(&mut self) -> Result<Option<u8>>[src]
fn clear_buffer(&mut self)[src]
fn read_to_buffer(&mut self, n: usize) -> Result<()>[src]
fn read<'c>(&'c mut self, n: usize) -> Result<EitherLifetime<'c, 'a>>[src]
fn take_buffer<'c>(&'c mut self) -> EitherLifetime<'c, 'a>[src]
fn read_into(&mut self, buf: &mut [u8]) -> Result<()>[src]
fn discard(&mut self)[src]
fn offset(&self) -> u64[src]
impl<'de, R> Read<'de> for IoRead<R> where
R: Read, [src]
R: Read,