pub struct StorePacket {
pub next_offset: u32,
pub timestamp: u128,
pub data_len: u16,
pub data: Vec<u8>,
}Fields§
§next_offset: u32§timestamp: u128§data_len: u16§data: Vec<u8>Implementations§
Source§impl StorePacket
impl StorePacket
pub fn deserialize_from<R: Read>(reader: &mut R) -> Result<Self, StoreError>
Trait Implementations§
Source§impl Debug for StorePacket
impl Debug for StorePacket
Auto Trait Implementations§
impl Freeze for StorePacket
impl RefUnwindSafe for StorePacket
impl Send for StorePacket
impl Sync for StorePacket
impl Unpin for StorePacket
impl UnwindSafe for StorePacket
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