pub enum Blob {
Small {
data: [u8; 32],
size: usize,
},
Large {
data: Vec<u8>,
},
}
Expand description
Type is associated with Packetize trait and optimizes on the returned byte-blob.
Variants§
Trait Implementations§
impl Eq for Blob
impl StructuralPartialEq for Blob
Auto Trait Implementations§
impl Freeze for Blob
impl RefUnwindSafe for Blob
impl Send for Blob
impl Sync for Blob
impl Unpin for Blob
impl UnwindSafe for Blob
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