Trait bincode::byteorder::WriteBytesExt
source · pub trait WriteBytesExt: Write {
// Provided methods
fn write_u8(&mut self, n: u8) -> Result<()> { ... }
fn write_i8(&mut self, n: i8) -> Result<()> { ... }
fn write_u16<T: ByteOrder>(&mut self, n: u16) -> Result<()> { ... }
fn write_i16<T: ByteOrder>(&mut self, n: i16) -> Result<()> { ... }
fn write_u32<T: ByteOrder>(&mut self, n: u32) -> Result<()> { ... }
fn write_i32<T: ByteOrder>(&mut self, n: i32) -> Result<()> { ... }
fn write_u64<T: ByteOrder>(&mut self, n: u64) -> Result<()> { ... }
fn write_i64<T: ByteOrder>(&mut self, n: i64) -> Result<()> { ... }
fn write_f32<T: ByteOrder>(&mut self, n: f32) -> Result<()> { ... }
fn write_f64<T: ByteOrder>(&mut self, n: f64) -> Result<()> { ... }
fn write_u128<T: ByteOrder>(&mut self, n: u128) -> Result<()> { ... }
fn write_i128<T: ByteOrder>(&mut self, n: i128) -> Result<()> { ... }
}
Provided Methods§
fn write_u8(&mut self, n: u8) -> Result<()>
fn write_i8(&mut self, n: i8) -> Result<()>
fn write_u16<T: ByteOrder>(&mut self, n: u16) -> Result<()>
fn write_i16<T: ByteOrder>(&mut self, n: i16) -> Result<()>
fn write_u32<T: ByteOrder>(&mut self, n: u32) -> Result<()>
fn write_i32<T: ByteOrder>(&mut self, n: i32) -> Result<()>
fn write_u64<T: ByteOrder>(&mut self, n: u64) -> Result<()>
fn write_i64<T: ByteOrder>(&mut self, n: i64) -> Result<()>
fn write_f32<T: ByteOrder>(&mut self, n: f32) -> Result<()>
fn write_f64<T: ByteOrder>(&mut self, n: f64) -> Result<()>
fn write_u128<T: ByteOrder>(&mut self, n: u128) -> Result<()>
fn write_i128<T: ByteOrder>(&mut self, n: i128) -> Result<()>
Object Safety§
This trait is not object safe.