pub struct SampleState {
pub buf: Vec<u8>,
}
Fields§
§buf: Vec<u8>
Trait Implementations§
Source§impl BufferDeserializer for SampleState
impl BufferDeserializer for SampleState
Source§fn deserialize(buf: &[u8]) -> Result<(SampleState, usize), Error>where
SampleState: Sized,
fn deserialize(buf: &[u8]) -> Result<(SampleState, usize), Error>where
SampleState: Sized,
Deserializes an instance of
Self
from the given octet buffer. Read moreAuto Trait Implementations§
impl Freeze for SampleState
impl RefUnwindSafe for SampleState
impl Send for SampleState
impl Sync for SampleState
impl Unpin for SampleState
impl UnwindSafe for SampleState
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