Enum tiny_actor::RecvError
source · [−]pub enum RecvError {
Halted,
ClosedAndEmpty,
}Expand description
Error returned when receiving a message from an inbox. Reasons can be:
Halted: This Inbox has been halted and should now exit.ClosedAndEmpty: This Inbox is closed and empty, it can no longer receive new messages.
Variants
Halted
This inbox has been halted and should now exit.
ClosedAndEmpty
This inbox has been closed, and contains no more messages. It was closed either because all addresses have been dropped, or because it was manually closed.
Trait Implementations
impl Eq for RecvError
impl StructuralEq for RecvError
impl StructuralPartialEq for RecvError
Auto Trait Implementations
impl RefUnwindSafe for RecvError
impl Send for RecvError
impl Sync for RecvError
impl Unpin for RecvError
impl UnwindSafe for RecvError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more