pub struct Blob {
pub raw: Option<Vec<u8>>,
pub raw_size: Option<i32>,
pub zlib_data: Option<Vec<u8>>,
pub lzma_data: Option<Vec<u8>>,
}
Fields§
§raw: Option<Vec<u8>>
§raw_size: Option<i32>
§zlib_data: Option<Vec<u8>>
§lzma_data: Option<Vec<u8>>
Implementations§
Trait Implementations§
Source§impl<'a> MessageRead<'a> for Blob
impl<'a> MessageRead<'a> for Blob
Source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read moreSource§impl MessageWrite for Blob
impl MessageWrite 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