pub enum MilestoneValidationError {
InvalidMinThreshold,
TooFewSignatures(usize, usize),
InsufficientApplicablePublicKeys(usize, usize),
UnapplicablePublicKey(String),
InvalidSignature(usize, String),
Crypto(CryptoError),
}Variants
InvalidMinThreshold
TooFewSignatures(usize, usize)
InsufficientApplicablePublicKeys(usize, usize)
UnapplicablePublicKey(String)
InvalidSignature(usize, String)
Crypto(CryptoError)
Trait Implementations
sourceimpl Debug for MilestoneValidationError
impl Debug for MilestoneValidationError
sourceimpl From<Error> for MilestoneValidationError
impl From<Error> for MilestoneValidationError
sourcefn from(error: CryptoError) -> Self
fn from(error: CryptoError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for MilestoneValidationError
impl Send for MilestoneValidationError
impl Sync for MilestoneValidationError
impl Unpin for MilestoneValidationError
impl UnwindSafe for MilestoneValidationError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more