Skip to main content

Read

Trait Read 

Source
pub trait Read {
    // Required method
    fn read<T: Serialize>(&mut self) -> Result<T, DecodeError>;
}

Required Methods§

Source

fn read<T: Serialize>(&mut self) -> Result<T, DecodeError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Read for Tape<'_, u8>