pub enum SidejobError {
Overloaded,
Stopped,
}Expand description
Reasons a submit may fail.
Variants§
Overloaded
The mailbox is full. Drop the request and let the caller retry against another stage or report a 503-equivalent.
Stopped
The actor task is no longer running, so no further requests can be served. This also covers the case where a handler panicked on a specific request and dropped the reply channel.
Trait Implementations§
Source§impl Debug for SidejobError
impl Debug for SidejobError
Source§impl Display for SidejobError
impl Display for SidejobError
Source§impl Error for SidejobError
impl Error for SidejobError
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()
Source§impl PartialEq for SidejobError
impl PartialEq for SidejobError
Source§fn eq(&self, other: &SidejobError) -> bool
fn eq(&self, other: &SidejobError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SidejobError
impl StructuralPartialEq for SidejobError
Auto Trait Implementations§
impl Freeze for SidejobError
impl RefUnwindSafe for SidejobError
impl Send for SidejobError
impl Sync for SidejobError
impl Unpin for SidejobError
impl UnsafeUnpin for SidejobError
impl UnwindSafe for SidejobError
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.