pub enum ResolvedLimitsError {
RequestRatePairIncomplete,
PrincipalConcurrencyWithoutAccount,
PrincipalConcurrencyExceedsAccount {
principal: NonZeroU32,
account: NonZeroU32,
},
}Expand description
Why resolved limits could not be constructed from a wire representation.
Variants§
Trait Implementations§
Source§impl Clone for ResolvedLimitsError
impl Clone for ResolvedLimitsError
impl Copy for ResolvedLimitsError
Source§impl Debug for ResolvedLimitsError
impl Debug for ResolvedLimitsError
Source§impl Display for ResolvedLimitsError
impl Display for ResolvedLimitsError
impl Eq for ResolvedLimitsError
Source§impl Error for ResolvedLimitsError
impl Error for ResolvedLimitsError
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 ResolvedLimitsError
impl PartialEq for ResolvedLimitsError
impl StructuralPartialEq for ResolvedLimitsError
Auto Trait Implementations§
impl Freeze for ResolvedLimitsError
impl RefUnwindSafe for ResolvedLimitsError
impl Send for ResolvedLimitsError
impl Sync for ResolvedLimitsError
impl Unpin for ResolvedLimitsError
impl UnsafeUnpin for ResolvedLimitsError
impl UnwindSafe for ResolvedLimitsError
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