pub enum ActorError {
MailboxFull(usize, usize),
NoMessage,
Blocked(ActorId),
}Expand description
Error type for actor operations
Variants§
MailboxFull(usize, usize)
Mailbox is full (capacity, current)
NoMessage
No message available
Blocked(ActorId)
Actor is blocked
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ActorError
impl RefUnwindSafe for ActorError
impl Send for ActorError
impl Sync for ActorError
impl Unpin for ActorError
impl UnsafeUnpin for ActorError
impl UnwindSafe for ActorError
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