pub trait WriteExt: Write {
// Required methods
fn write_cstring<S: AsRef<[u8]>>(&mut self, s: S) -> Result<()>;
fn write_compressed_int(&mut self, x: u32) -> Result<usize>;
}
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.