pub trait BitWrite: Write {
// Required method
fn write_bits<O>(
&mut self,
source: &BitSlice<O, Msb0>,
) -> Result<usize, Error>
where O: BitStore;
// Provided method
fn write_all_bits<O>(
&mut self,
source: &BitSlice<O, Msb0>,
) -> Result<(), Error>
where O: BitStore { ... }
}Expand description
A trait for objects which are bit-oriented sinks.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".