pub enum DeclarationError {
ThresholdInvalid,
HasNotEnoughOwners,
HasTooManyOwners,
SubNotImplemented,
}
Variants§
Trait Implementations§
source§impl Clone for DeclarationError
impl Clone for DeclarationError
source§fn clone(&self) -> DeclarationError
fn clone(&self) -> DeclarationError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DeclarationError
impl Debug for DeclarationError
source§impl Display for DeclarationError
impl Display for DeclarationError
source§impl Error for DeclarationError
impl Error for DeclarationError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<DeclarationError> for LedgerError
impl From<DeclarationError> for LedgerError
source§fn from(source: DeclarationError) -> Self
fn from(source: DeclarationError) -> Self
Converts to this type from the input type.
source§impl PartialEq<DeclarationError> for DeclarationError
impl PartialEq<DeclarationError> for DeclarationError
source§fn eq(&self, other: &DeclarationError) -> bool
fn eq(&self, other: &DeclarationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DeclarationError
impl StructuralEq for DeclarationError
impl StructuralPartialEq for DeclarationError
Auto Trait Implementations§
impl RefUnwindSafe for DeclarationError
impl Send for DeclarationError
impl Sync for DeclarationError
impl Unpin for DeclarationError
impl UnwindSafe for DeclarationError
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