pub struct ActorHandlerContext { /* private fields */ }Implementations§
Source§impl ActorHandlerContext
impl ActorHandlerContext
pub fn new( id: ActorId, status: ActorStatus, boxed_ref: BoxedActorRef, ) -> ActorHandlerContext
pub fn id(&self) -> &ActorId
pub fn set_status(&mut self, state: ActorStatus)
pub fn get_status(&self) -> &ActorStatus
Auto Trait Implementations§
impl Freeze for ActorHandlerContext
impl !RefUnwindSafe for ActorHandlerContext
impl Send for ActorHandlerContext
impl Sync for ActorHandlerContext
impl Unpin for ActorHandlerContext
impl UnsafeUnpin for ActorHandlerContext
impl !UnwindSafe for ActorHandlerContext
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