pub struct BitwiseFrame(pub Vec<u8>);Expand description
A complete encoded bitwise frame: the self-delimiting header, side tables,
and the bit-packed Expr body, owned as a single byte buffer.
The final carrier byte is zero-padded in its unused low bits; decode rejects
any nonzero trailing bit and any trailing whole byte, so the plain-mode
buffer is the smallest canonical byte string for its Expr value.
Tuple Fields§
§0: Vec<u8>The raw frame bytes, ready to be written to a byte transport.
Trait Implementations§
Source§impl Clone for BitwiseFrame
impl Clone for BitwiseFrame
Source§fn clone(&self) -> BitwiseFrame
fn clone(&self) -> BitwiseFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BitwiseFrame
impl Debug for BitwiseFrame
impl Eq for BitwiseFrame
Source§impl PartialEq for BitwiseFrame
impl PartialEq for BitwiseFrame
Source§fn eq(&self, other: &BitwiseFrame) -> bool
fn eq(&self, other: &BitwiseFrame) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BitwiseFrame
Auto Trait Implementations§
impl Freeze for BitwiseFrame
impl RefUnwindSafe for BitwiseFrame
impl Send for BitwiseFrame
impl Sync for BitwiseFrame
impl Unpin for BitwiseFrame
impl UnsafeUnpin for BitwiseFrame
impl UnwindSafe for BitwiseFrame
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more