Enum mln_did::errors::DidMlnError
source · #[repr(u32)]pub enum DidMlnError {
Show 14 variants
VmFragmentNotFound = 0,
VmFragmentAlreadyInUse = 1,
VmGuardedFlagOnAdd = 2,
VmCannotRemoveLastAuthority = 3,
ServiceFragmentAlreadyInUse = 4,
ServiceFragmentNotFound = 5,
InvalidOtherControllers = 6,
InvalidNativeControllers = 7,
InsufficientInitialSize = 8,
ConversionError = 9,
InvalidControllerChain = 10,
ErrorValidatingSecp256k1Signature = 11,
WrongAuthorityForDid = 12,
VmCannotRemoveProtected = 13,
}Variants§
VmFragmentNotFound = 0
VmFragmentAlreadyInUse = 1
VmGuardedFlagOnAdd = 2
VmCannotRemoveLastAuthority = 3
ServiceFragmentAlreadyInUse = 4
ServiceFragmentNotFound = 5
InvalidOtherControllers = 6
InvalidNativeControllers = 7
InsufficientInitialSize = 8
ConversionError = 9
InvalidControllerChain = 10
ErrorValidatingSecp256k1Signature = 11
WrongAuthorityForDid = 12
VmCannotRemoveProtected = 13
Implementations§
Trait Implementations§
source§impl Clone for DidMlnError
impl Clone for DidMlnError
source§fn clone(&self) -> DidMlnError
fn clone(&self) -> DidMlnError
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 DidMlnError
impl Debug for DidMlnError
source§impl Display for DidMlnError
impl Display for DidMlnError
source§impl From<DidMlnError> for Error
impl From<DidMlnError> for Error
source§fn from(error_code: DidMlnError) -> Error
fn from(error_code: DidMlnError) -> Error
Converts to this type from the input type.
source§impl From<DidMlnError> for u32
impl From<DidMlnError> for u32
source§fn from(e: DidMlnError) -> u32
fn from(e: DidMlnError) -> u32
Converts to this type from the input type.
impl Copy for DidMlnError
Auto Trait Implementations§
impl RefUnwindSafe for DidMlnError
impl Send for DidMlnError
impl Sync for DidMlnError
impl Unpin for DidMlnError
impl UnwindSafe for DidMlnError
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