pub enum MeterError {
Function(&'static str),
Capacity,
Identity,
Connection,
Identifier(&'static str),
Metadata(u32),
AmbiguousField,
}Expand description
Inconsistent configuration or metadata. No partial meter is returned on error.
Variants§
Function(&'static str)
Capacity
Identity
Connection
Identifier(&'static str)
Metadata(u32)
AmbiguousField
Trait Implementations§
Source§impl Debug for MeterError
impl Debug for MeterError
Source§impl Display for MeterError
impl Display for MeterError
impl Eq for MeterError
Source§impl Error for MeterError
impl Error for MeterError
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 MeterError
impl PartialEq for MeterError
impl StructuralPartialEq for MeterError
Auto Trait Implementations§
impl Freeze for MeterError
impl RefUnwindSafe for MeterError
impl Send for MeterError
impl Sync for MeterError
impl Unpin for MeterError
impl UnsafeUnpin for MeterError
impl UnwindSafe for MeterError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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