pub struct ActorContext {
pub id: ActorId,
/* private fields */
}Expand description
Context provided to actors during message handling.
Fields§
§id: ActorIdActor’s own ID
Implementations§
Source§impl ActorContext
impl ActorContext
Auto Trait Implementations§
impl !RefUnwindSafe for ActorContext
impl !UnwindSafe for ActorContext
impl Freeze for ActorContext
impl Send for ActorContext
impl Sync for ActorContext
impl Unpin for ActorContext
impl UnsafeUnpin for ActorContext
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