pub struct Delivery<L: Listener> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<L: Listener> MemorySize for Delivery<L>
impl<L: Listener> MemorySize for Delivery<L>
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.Source§impl<L: Listener> Message for Delivery<L>
impl<L: Listener> Message for Delivery<L>
const CODEC: &'static str = "harmos.postcard.v1"
fn encode(&self) -> Vec<u8> ⓘ
fn encoded_size(&self) -> usize
fn decoding_memory(bytes: &[u8]) -> Result<usize, MessageError>
fn decode(bytes: &[u8]) -> Result<Self, MessageError>
fn encode_into(&self, bytes: &mut Vec<u8>)
Auto Trait Implementations§
impl<L> Freeze for Delivery<L>
impl<L> RefUnwindSafe for Delivery<L>
impl<L> Send for Delivery<L>
impl<L> Sync for Delivery<L>
impl<L> Unpin for Delivery<L>
impl<L> UnsafeUnpin for Delivery<L>
impl<L> UnwindSafe for Delivery<L>
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