pub enum LifecycleContractError {
UnsupportedFormat(u16),
MissingFormatVersion,
NonCanonical,
ZeroIdentity(&'static str),
Budget {
field: &'static str,
observed: u64,
maximum: u64,
},
Violation(&'static str),
DetailRetiredByPolicy,
Nested(String),
Serde(String),
}Variants§
UnsupportedFormat(u16)
MissingFormatVersion
NonCanonical
ZeroIdentity(&'static str)
Budget
Violation(&'static str)
DetailRetiredByPolicy
Nested(String)
Serde(String)
Trait Implementations§
Source§impl Clone for LifecycleContractError
impl Clone for LifecycleContractError
Source§impl Debug for LifecycleContractError
impl Debug for LifecycleContractError
Source§impl Display for LifecycleContractError
impl Display for LifecycleContractError
impl Eq for LifecycleContractError
Source§impl Error for LifecycleContractError
impl Error for LifecycleContractError
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 LifecycleContractError
impl PartialEq for LifecycleContractError
impl StructuralPartialEq for LifecycleContractError
Auto Trait Implementations§
impl Freeze for LifecycleContractError
impl RefUnwindSafe for LifecycleContractError
impl Send for LifecycleContractError
impl Sync for LifecycleContractError
impl Unpin for LifecycleContractError
impl UnsafeUnpin for LifecycleContractError
impl UnwindSafe for LifecycleContractError
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