pub struct PeerStopped<A: Address> {
pub peer: A,
pub outcome: Result<Exit<A>, Crash>,
}Fields§
§peer: A§outcome: Result<Exit<A>, Crash>Implementations§
Trait Implementations§
Source§impl<A: Clone + Address> Clone for PeerStopped<A>
impl<A: Clone + Address> Clone for PeerStopped<A>
Source§fn clone(&self) -> PeerStopped<A>
fn clone(&self) -> PeerStopped<A>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<A: Eq + Address> Eq for PeerStopped<A>
Source§impl<E> EventInput<PeerStopped<<E as UserEvent>::Addr>> for ProxyEvent<E>
impl<E> EventInput<PeerStopped<<E as UserEvent>::Addr>> for ProxyEvent<E>
fn inject(event: PeerStopped<E::Addr>) -> Self
Source§impl<E> EventInput<PeerStopped<<E as UserEvent>::Addr>> for SupervisionEvent<E>
impl<E> EventInput<PeerStopped<<E as UserEvent>::Addr>> for SupervisionEvent<E>
fn inject(event: PeerStopped<E::Addr>) -> Self
Source§impl<E> EventInput<PeerStopped<<E as UserEvent>::Addr>> for TimedEvent<E>
impl<E> EventInput<PeerStopped<<E as UserEvent>::Addr>> for TimedEvent<E>
fn inject(event: PeerStopped<E::Addr>) -> Self
Source§impl<E: UserEvent> EventInput<PeerStopped<<E as UserEvent>::Addr>> for WatchEvent<E>
impl<E: UserEvent> EventInput<PeerStopped<<E as UserEvent>::Addr>> for WatchEvent<E>
fn inject(event: PeerStopped<E::Addr>) -> Self
Source§impl<E> EventInput<PeerStopped<<E as UserEvent>::Addr>> for ShutdownProtocol<E>
impl<E> EventInput<PeerStopped<<E as UserEvent>::Addr>> for ShutdownProtocol<E>
fn inject(event: PeerStopped<E::Addr>) -> Self
impl<A: PartialEq + Address> StructuralPartialEq for PeerStopped<A>
Auto Trait Implementations§
impl<A> Freeze for PeerStopped<A>where
A: Freeze,
impl<A> RefUnwindSafe for PeerStopped<A>where
A: RefUnwindSafe,
impl<A> Send for PeerStopped<A>where
A: Send,
impl<A> Sync for PeerStopped<A>where
A: Sync,
impl<A> Unpin for PeerStopped<A>where
A: Unpin,
impl<A> UnsafeUnpin for PeerStopped<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for PeerStopped<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