pub struct UnwatchPeer<A> {
pub peer: A,
}Expand description
Ask the local interpreter to cancel this actor’s observation of peer.
Peer observation is a derived Bombay protocol, not an actor-model
primitive. The address names the same observer-local relationship created
by ObservePeer; exact-incarnation capture and cancellation belong to the
interpreter. Cancellation does not retract a PeerStopped event already
admitted to the actor’s mailbox, and an interpreter treats a request for a
relationship that is no longer present as inert.
Fields§
§peer: AImplementations§
Source§impl<A> UnwatchPeer<A>
impl<A> UnwatchPeer<A>
Trait Implementations§
Source§impl<A: Clone> Clone for UnwatchPeer<A>
impl<A: Clone> Clone for UnwatchPeer<A>
Source§fn clone(&self) -> UnwatchPeer<A>
fn clone(&self) -> UnwatchPeer<A>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<A: Debug> Debug for UnwatchPeer<A>
impl<A: Debug> Debug for UnwatchPeer<A>
Source§impl<A> From<A> for UnwatchPeer<A>
impl<A> From<A> for UnwatchPeer<A>
Source§impl<A: PartialEq> PartialEq for UnwatchPeer<A>
impl<A: PartialEq> PartialEq for UnwatchPeer<A>
impl<A: Copy> Copy for UnwatchPeer<A>
impl<A: Eq> Eq for UnwatchPeer<A>
impl<A> StructuralPartialEq for UnwatchPeer<A>
Auto Trait Implementations§
impl<A> Freeze for UnwatchPeer<A>where
A: Freeze,
impl<A> RefUnwindSafe for UnwatchPeer<A>where
A: RefUnwindSafe,
impl<A> Send for UnwatchPeer<A>where
A: Send,
impl<A> Sync for UnwatchPeer<A>where
A: Sync,
impl<A> Unpin for UnwatchPeer<A>where
A: Unpin,
impl<A> UnsafeUnpin for UnwatchPeer<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for UnwatchPeer<A>where
A: UnwindSafe,
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