pub struct Trks { /* private fields */ }Trait Implementations§
Source§impl DiskStruct for Trks
impl DiskStruct for Trks
Source§fn update_from_bytes(&mut self, bytes: &[u8]) -> Result<(), DiskStructError>
fn update_from_bytes(&mut self, bytes: &[u8]) -> Result<(), DiskStructError>
update a structure from a byte stream, OK to use on trait objects
Source§fn from_bytes(bytes: &[u8]) -> Result<Self, DiskStructError>where
Self: Sized,
fn from_bytes(bytes: &[u8]) -> Result<Self, DiskStructError>where
Self: Sized,
create a structure from a byte stream, requires concrete type
Source§fn from_bytes_adv(
bytes: &[u8],
ptr: &mut usize,
) -> Result<Self, DiskStructError>where
Self: Sized,
fn from_bytes_adv(
bytes: &[u8],
ptr: &mut usize,
) -> Result<Self, DiskStructError>where
Self: Sized,
convenience function to call
from_bytes and increment ptr by len()Auto Trait Implementations§
impl Freeze for Trks
impl RefUnwindSafe for Trks
impl Send for Trks
impl Sync for Trks
impl Unpin for Trks
impl UnwindSafe for Trks
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