#[non_exhaustive]pub enum LimitsError {
ZeroOperationCapacity,
ZeroWriteCapacity,
EmptyMatchKeySpace,
}Expand description
Invalid connection-limit configuration.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ZeroOperationCapacity
No operation can be admitted.
ZeroWriteCapacity
No write frame can be reserved.
EmptyMatchKeySpace
The inclusive match-key range is reversed.
Trait Implementations§
Source§impl Clone for LimitsError
impl Clone for LimitsError
impl Copy for LimitsError
Source§impl Debug for LimitsError
impl Debug for LimitsError
Source§impl Display for LimitsError
impl Display for LimitsError
impl Eq for LimitsError
Source§impl Error for LimitsError
impl Error for LimitsError
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 LimitsError
impl PartialEq for LimitsError
impl StructuralPartialEq for LimitsError
Auto Trait Implementations§
impl Freeze for LimitsError
impl RefUnwindSafe for LimitsError
impl Send for LimitsError
impl Sync for LimitsError
impl Unpin for LimitsError
impl UnsafeUnpin for LimitsError
impl UnwindSafe for LimitsError
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