Struct tower::load_shed::error::Overloaded
source · pub struct Overloaded { /* private fields */ }
Expand description
An error returned by LoadShed
when the underlying service
is not ready to handle any requests at the time of being
called.
Implementations§
source§impl Overloaded
impl Overloaded
Trait Implementations§
source§impl Debug for Overloaded
impl Debug for Overloaded
source§impl Default for Overloaded
impl Default for Overloaded
source§fn default() -> Overloaded
fn default() -> Overloaded
Returns the “default value” for a type. Read more
source§impl Display for Overloaded
impl Display for Overloaded
source§impl Error for Overloaded
impl Error for Overloaded
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()
Auto Trait Implementations§
impl Freeze for Overloaded
impl RefUnwindSafe for Overloaded
impl Send for Overloaded
impl Sync for Overloaded
impl Unpin for Overloaded
impl UnwindSafe for Overloaded
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