pub trait BitBufExts: BitBuf {
Show 34 methods
// Provided methods
fn get_uN<O: ByteOrder, const N: usize, U, V: Integral>(
&mut self,
) -> Result<U>
where U: TryFrom<V>,
U::Error: Debug { ... }
fn get_bool(&mut self) -> Result<bool> { ... }
fn get_u1(&mut self) -> Result<u1> { ... }
fn get_u2(&mut self) -> Result<u2> { ... }
fn get_u3(&mut self) -> Result<u3> { ... }
fn get_u4(&mut self) -> Result<u4> { ... }
fn get_u5(&mut self) -> Result<u5> { ... }
fn get_u6(&mut self) -> Result<u6> { ... }
fn get_u7(&mut self) -> Result<u7> { ... }
fn get_u8(&mut self) -> Result<u8> { ... }
fn get_u9<O: ByteOrder>(&mut self) -> Result<u9> { ... }
fn get_u10<O: ByteOrder>(&mut self) -> Result<u10> { ... }
fn get_u11<O: ByteOrder>(&mut self) -> Result<u11> { ... }
fn get_u12<O: ByteOrder>(&mut self) -> Result<u12> { ... }
fn get_u13<O: ByteOrder>(&mut self) -> Result<u13> { ... }
fn get_u14<O: ByteOrder>(&mut self) -> Result<u14> { ... }
fn get_u15<O: ByteOrder>(&mut self) -> Result<u15> { ... }
fn get_u16<O: ByteOrder>(&mut self) -> Result<u16> { ... }
fn get_u17<O: ByteOrder>(&mut self) -> Result<u17> { ... }
fn get_u18<O: ByteOrder>(&mut self) -> Result<u18> { ... }
fn get_u19<O: ByteOrder>(&mut self) -> Result<u19> { ... }
fn get_u20<O: ByteOrder>(&mut self) -> Result<u20> { ... }
fn get_u21<O: ByteOrder>(&mut self) -> Result<u21> { ... }
fn get_u22<O: ByteOrder>(&mut self) -> Result<u22> { ... }
fn get_u23<O: ByteOrder>(&mut self) -> Result<u23> { ... }
fn get_u24<O: ByteOrder>(&mut self) -> Result<u24> { ... }
fn get_u25<O: ByteOrder>(&mut self) -> Result<u25> { ... }
fn get_u26<O: ByteOrder>(&mut self) -> Result<u26> { ... }
fn get_u27<O: ByteOrder>(&mut self) -> Result<u27> { ... }
fn get_u28<O: ByteOrder>(&mut self) -> Result<u28> { ... }
fn get_u29<O: ByteOrder>(&mut self) -> Result<u29> { ... }
fn get_u30<O: ByteOrder>(&mut self) -> Result<u30> { ... }
fn get_u31<O: ByteOrder>(&mut self) -> Result<u31> { ... }
fn get_u32<O: ByteOrder>(&mut self) -> Result<u32> { ... }
}
Provided Methods§
fn get_uN<O: ByteOrder, const N: usize, U, V: Integral>(&mut self) -> Result<U>
fn get_bool(&mut self) -> Result<bool>
fn get_u1(&mut self) -> Result<u1>
fn get_u2(&mut self) -> Result<u2>
fn get_u3(&mut self) -> Result<u3>
fn get_u4(&mut self) -> Result<u4>
fn get_u5(&mut self) -> Result<u5>
fn get_u6(&mut self) -> Result<u6>
fn get_u7(&mut self) -> Result<u7>
fn get_u8(&mut self) -> Result<u8>
fn get_u9<O: ByteOrder>(&mut self) -> Result<u9>
fn get_u10<O: ByteOrder>(&mut self) -> Result<u10>
fn get_u11<O: ByteOrder>(&mut self) -> Result<u11>
fn get_u12<O: ByteOrder>(&mut self) -> Result<u12>
fn get_u13<O: ByteOrder>(&mut self) -> Result<u13>
fn get_u14<O: ByteOrder>(&mut self) -> Result<u14>
fn get_u15<O: ByteOrder>(&mut self) -> Result<u15>
fn get_u16<O: ByteOrder>(&mut self) -> Result<u16>
fn get_u17<O: ByteOrder>(&mut self) -> Result<u17>
fn get_u18<O: ByteOrder>(&mut self) -> Result<u18>
fn get_u19<O: ByteOrder>(&mut self) -> Result<u19>
fn get_u20<O: ByteOrder>(&mut self) -> Result<u20>
fn get_u21<O: ByteOrder>(&mut self) -> Result<u21>
fn get_u22<O: ByteOrder>(&mut self) -> Result<u22>
fn get_u23<O: ByteOrder>(&mut self) -> Result<u23>
fn get_u24<O: ByteOrder>(&mut self) -> Result<u24>
fn get_u25<O: ByteOrder>(&mut self) -> Result<u25>
fn get_u26<O: ByteOrder>(&mut self) -> Result<u26>
fn get_u27<O: ByteOrder>(&mut self) -> Result<u27>
fn get_u28<O: ByteOrder>(&mut self) -> Result<u28>
fn get_u29<O: ByteOrder>(&mut self) -> Result<u29>
fn get_u30<O: ByteOrder>(&mut self) -> Result<u30>
fn get_u31<O: ByteOrder>(&mut self) -> Result<u31>
fn get_u32<O: ByteOrder>(&mut self) -> Result<u32>
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.