Trait bincode::byteorder::ReadBytesExt

source ·
pub trait ReadBytesExt: Read {
    // Provided methods
    fn read_u8(&mut self) -> Result<u8> { ... }
    fn read_i8(&mut self) -> Result<i8> { ... }
    fn read_u16<T: ByteOrder>(&mut self) -> Result<u16> { ... }
    fn read_i16<T: ByteOrder>(&mut self) -> Result<i16> { ... }
    fn read_u32<T: ByteOrder>(&mut self) -> Result<u32> { ... }
    fn read_i32<T: ByteOrder>(&mut self) -> Result<i32> { ... }
    fn read_u64<T: ByteOrder>(&mut self) -> Result<u64> { ... }
    fn read_i64<T: ByteOrder>(&mut self) -> Result<i64> { ... }
    fn read_f32<T: ByteOrder>(&mut self) -> Result<f32> { ... }
    fn read_f64<T: ByteOrder>(&mut self) -> Result<f64> { ... }
    fn read_u128<T: ByteOrder>(&mut self) -> Result<u128> { ... }
    fn read_i128<T: ByteOrder>(&mut self) -> Result<i128> { ... }
}

Provided Methods§

source

fn read_u8(&mut self) -> Result<u8>

source

fn read_i8(&mut self) -> Result<i8>

source

fn read_u16<T: ByteOrder>(&mut self) -> Result<u16>

source

fn read_i16<T: ByteOrder>(&mut self) -> Result<i16>

source

fn read_u32<T: ByteOrder>(&mut self) -> Result<u32>

source

fn read_i32<T: ByteOrder>(&mut self) -> Result<i32>

source

fn read_u64<T: ByteOrder>(&mut self) -> Result<u64>

source

fn read_i64<T: ByteOrder>(&mut self) -> Result<i64>

source

fn read_f32<T: ByteOrder>(&mut self) -> Result<f32>

source

fn read_f64<T: ByteOrder>(&mut self) -> Result<f64>

source

fn read_u128<T: ByteOrder>(&mut self) -> Result<u128>

source

fn read_i128<T: ByteOrder>(&mut self) -> Result<i128>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<R: Read + ?Sized> ReadBytesExt for R