pub enum NoStream {}Trait Implementations§
impl Copy for NoStream
impl Eq for NoStream
Source§impl MemorySize for NoStream
impl MemorySize for NoStream
fn memory_size(&self) -> usize
Source§const INLINE_ONLY: bool = false
const INLINE_ONLY: bool = false
True only when every value occupies exactly
size_of::<Self>() bytes,
with no separately owned allocations or additional accounting charge.impl StructuralPartialEq for NoStream
Source§impl Value for NoStream
impl Value for NoStream
fn write(&self, _: &mut Vec<u8>)
fn size(&self) -> usize
fn memory(_: &mut Reader<'_>) -> Result<usize, MessageError>
fn read(_: &mut Reader<'_>) -> Result<NoStream, MessageError>
fn size_many(values: &[Self]) -> usize
fn write_many(values: &[Self], bytes: &mut Vec<u8>)
fn memory_many( input: &mut Reader<'_>, count: usize, ) -> Result<usize, MessageError>
fn read_many( input: &mut Reader<'_>, count: usize, ) -> Result<Vec<Self>, MessageError>
Auto Trait Implementations§
impl Freeze for NoStream
impl RefUnwindSafe for NoStream
impl Send for NoStream
impl Sync for NoStream
impl Unpin for NoStream
impl UnsafeUnpin for NoStream
impl UnwindSafe for NoStream
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