pub struct User<A, M> {
pub from: A,
pub message: M,
}Expand description
The user-message event at the Agha floor.
Fields§
§from: A§message: MImplementations§
Trait Implementations§
Source§impl<A: Address, M> ChildEvent for User<A, M>
impl<A: Address, M> ChildEvent for User<A, M>
fn child_stopped(_: ChildStopped<A>) -> Option<Self>
Source§impl<A: Address, M> CreationEvent for User<A, M>
impl<A: Address, M> CreationEvent for User<A, M>
fn creation_resolved(_: CreationResolved<A::Nonce>) -> Option<Self>
impl<A: Eq, M: Eq> Eq for User<A, M>
Source§impl<A: Address, M> PeerEvent for User<A, M>
impl<A: Address, M> PeerEvent for User<A, M>
fn peer_stopped(_: PeerStopped<A>) -> Option<Self>
Source§impl<A: Address, M> ShutdownEvent for User<A, M>
impl<A: Address, M> ShutdownEvent for User<A, M>
fn shutdown_requested(_: ShutdownRequested) -> Option<Self>
impl<A: PartialEq, M: PartialEq> StructuralPartialEq for User<A, M>
Source§impl<A: Address, M> TimeEvent for User<A, M>
impl<A: Address, M> TimeEvent for User<A, M>
fn time_reached(_: TimerElapsed) -> Option<Self>
Source§impl<A: Address, M> WorkerCreationEvent for User<A, M>
impl<A: Address, M> WorkerCreationEvent for User<A, M>
fn worker_creation_resolved(_: WorkerCreationResolved<A::Nonce>) -> Option<Self>
Source§impl<A: Address, M> WorkerEvent for User<A, M>
impl<A: Address, M> WorkerEvent for User<A, M>
fn worker_stopped(_: WorkerStopped<A>) -> Option<Self>
Auto Trait Implementations§
impl<A, M> Freeze for User<A, M>
impl<A, M> RefUnwindSafe for User<A, M>where
A: RefUnwindSafe,
M: RefUnwindSafe,
impl<A, M> Send for User<A, M>
impl<A, M> Sync for User<A, M>
impl<A, M> Unpin for User<A, M>
impl<A, M> UnsafeUnpin for User<A, M>where
A: UnsafeUnpin,
M: UnsafeUnpin,
impl<A, M> UnwindSafe for User<A, M>where
A: UnwindSafe,
M: 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