pub enum CallError<M: Message> {
Full(M),
Closed(M),
NoReply,
}Expand description
A call that could not be delivered or answered.
Variants§
Full(M)
The mailbox was at capacity.
Closed(M)
The actor was stopping or had exited.
NoReply
The actor handled the request without replying.
Implementations§
Trait Implementations§
impl<M: Eq + Message> Eq for CallError<M>
Source§impl<M: Message + Debug> Error for CallError<M>
impl<M: Message + Debug> Error for CallError<M>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl<M: PartialEq + Message> StructuralPartialEq for CallError<M>
Auto Trait Implementations§
impl<M> Freeze for CallError<M>where
M: Freeze,
impl<M> RefUnwindSafe for CallError<M>where
M: RefUnwindSafe,
impl<M> Send for CallError<M>
impl<M> Sync for CallError<M>where
M: Sync,
impl<M> Unpin for CallError<M>where
M: Unpin,
impl<M> UnsafeUnpin for CallError<M>where
M: UnsafeUnpin,
impl<M> UnwindSafe for CallError<M>where
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