pub struct BinaryFrame(pub Vec<u8>);Expand description
A complete encoded binary frame: a magic/version header, side tables, and
the tag-prefixed Expr body, owned as a single byte buffer.
Tuple Fields§
§0: Vec<u8>The raw frame bytes, ready to be written to a byte transport.
Trait Implementations§
Source§impl Clone for BinaryFrame
impl Clone for BinaryFrame
Source§fn clone(&self) -> BinaryFrame
fn clone(&self) -> BinaryFrame
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 BinaryFrame
impl Debug for BinaryFrame
impl Eq for BinaryFrame
Source§impl PartialEq for BinaryFrame
impl PartialEq for BinaryFrame
Source§fn eq(&self, other: &BinaryFrame) -> bool
fn eq(&self, other: &BinaryFrame) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BinaryFrame
Auto Trait Implementations§
impl Freeze for BinaryFrame
impl RefUnwindSafe for BinaryFrame
impl Send for BinaryFrame
impl Sync for BinaryFrame
impl Unpin for BinaryFrame
impl UnsafeUnpin for BinaryFrame
impl UnwindSafe for BinaryFrame
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