pub enum LedgerError {
ParticipantOutOfBound,
AlreadyExist,
DoesntExist,
DeclarationError(DeclarationError),
AccountError(LedgerError),
IdentifierMismatch,
ThresholdNotMet,
}
Variants§
ParticipantOutOfBound
AlreadyExist
DoesntExist
DeclarationError(DeclarationError)
AccountError(LedgerError)
IdentifierMismatch
ThresholdNotMet
Trait Implementations§
source§impl Clone for LedgerError
impl Clone for LedgerError
source§fn clone(&self) -> LedgerError
fn clone(&self) -> LedgerError
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 LedgerError
impl Debug for LedgerError
source§impl Display for LedgerError
impl Display for LedgerError
source§impl Error for LedgerError
impl Error for LedgerError
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 From<InsertError> for LedgerError
impl From<InsertError> for LedgerError
source§fn from(_: InsertError) -> Self
fn from(_: InsertError) -> Self
Converts to this type from the input type.
source§impl From<LedgerError> for Error
impl From<LedgerError> for Error
source§fn from(source: LedgerError) -> Self
fn from(source: LedgerError) -> Self
Converts to this type from the input type.
source§impl From<LedgerError> for LedgerError
impl From<LedgerError> for LedgerError
source§fn from(source: LedgerError) -> Self
fn from(source: LedgerError) -> Self
Converts to this type from the input type.
source§impl From<RemoveError> for LedgerError
impl From<RemoveError> for LedgerError
source§fn from(_: RemoveError) -> Self
fn from(_: RemoveError) -> Self
Converts to this type from the input type.
source§impl PartialEq<LedgerError> for LedgerError
impl PartialEq<LedgerError> for LedgerError
source§fn eq(&self, other: &LedgerError) -> bool
fn eq(&self, other: &LedgerError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LedgerError
impl StructuralEq for LedgerError
impl StructuralPartialEq for LedgerError
Auto Trait Implementations§
impl RefUnwindSafe for LedgerError
impl Send for LedgerError
impl Sync for LedgerError
impl Unpin for LedgerError
impl UnwindSafe for LedgerError
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