pub enum DeliveryTarget<P: Protocol> {
Established(Recipient<P>),
LocalChild(ChildRecipient<P>),
}Expand description
Exhaustive destination of one delivery.
Variants§
Established(Recipient<P>)
LocalChild(ChildRecipient<P>)
Implementations§
Trait Implementations§
Source§impl<P: Protocol> Clone for DeliveryTarget<P>
impl<P: Protocol> Clone for DeliveryTarget<P>
impl<P: Protocol> Copy for DeliveryTarget<P>
Source§impl<P: Protocol> Debug for DeliveryTarget<P>
impl<P: Protocol> Debug for DeliveryTarget<P>
impl<P: Protocol> Eq for DeliveryTarget<P>
Source§impl<P: Protocol> PartialEq for DeliveryTarget<P>
impl<P: Protocol> PartialEq for DeliveryTarget<P>
Auto Trait Implementations§
impl<P> Freeze for DeliveryTarget<P>
impl<P> RefUnwindSafe for DeliveryTarget<P>where
<P as Protocol>::Addr: RefUnwindSafe,
<<P as Protocol>::Addr as Address>::Nonce: RefUnwindSafe,
impl<P> Send for DeliveryTarget<P>
impl<P> Sync for DeliveryTarget<P>
impl<P> Unpin for DeliveryTarget<P>
impl<P> UnsafeUnpin for DeliveryTarget<P>
impl<P> UnwindSafe for DeliveryTarget<P>
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