pub struct Delivery<L>where
L: Listener,{ /* private fields */ }Implementations§
Trait Implementations§
Source§impl<L> MemorySize for Delivery<L>where
L: Listener,
impl<L> MemorySize for Delivery<L>where
L: Listener,
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> Message for Delivery<L>where
L: Listener,
impl<L> Message for Delivery<L>where
L: Listener,
fn encode_to_vec(&self) -> Vec<u8> ⓘ
fn encoded_len(&self) -> usize
fn decoding_memory(bytes: &[u8]) -> Result<usize, MessageError>
fn decode(bytes: &[u8]) -> Result<Delivery<L>, MessageError>
fn encode_into(&self, bytes: &mut Vec<u8>)
Source§impl<L> OperationDeclaration for Delivery<L>where
L: Listener,
impl<L> OperationDeclaration for Delivery<L>where
L: Listener,
const ID: &'static str = L::CALLBACK
const VERSION: u32 = 1
const POLICY: OperationPolicy = L::POLICY
const VISIBILITY: Visibility = crate::operations::Visibility::Shared
type Response = ()
type Input = NoStream
type Output = NoStream
const DESCRIPTION: &'static str = ""
const REPLAY: ReplaySafety = ReplaySafety::Unknown
const GRPC: Option<Grpc> = None
fn grant(&self) -> Option<Grant>
fn key(&self) -> Option<CacheKey>
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§
impl<T> Allocation for T
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