pub struct Recipient<P: Protocol> { /* private fields */ }Expand description
Pure logical destination for one concrete protocol signature.
The destination protocol owner is part of the type even when two protocols share the same address namespace and message type. This value proves only the static signature at a logical address; it does not prove that an exact executable incarnation has been installed there. Addressed recipients are retained for genuine transport and name-resolution boundaries.
Implementations§
Trait Implementations§
impl<P: Protocol> Copy for Recipient<P>
impl<P: Protocol> Eq for Recipient<P>
Auto Trait Implementations§
impl<P> Freeze for Recipient<P>
impl<P> RefUnwindSafe for Recipient<P>
impl<P> Send for Recipient<P>
impl<P> Sync for Recipient<P>
impl<P> Unpin for Recipient<P>
impl<P> UnsafeUnpin for Recipient<P>
impl<P> UnwindSafe for Recipient<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