Struct ratelimit_meter::InconsistentCapacity
source · pub struct InconsistentCapacity { /* private fields */ }
Expand description
An error that is returned when initializing a rate limiter that is too small to let a single cell through.
Trait Implementations
sourceimpl Debug for InconsistentCapacity
impl Debug for InconsistentCapacity
sourceimpl Display for InconsistentCapacity
impl Display for InconsistentCapacity
sourceimpl Fail for InconsistentCapacity
impl Fail for InconsistentCapacity
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreAuto Trait Implementations
impl RefUnwindSafe for InconsistentCapacity
impl Send for InconsistentCapacity
impl Sync for InconsistentCapacity
impl Unpin for InconsistentCapacity
impl UnwindSafe for InconsistentCapacity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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