Enum noble_recovery::Error[][src]

pub enum Error<T: Config> {
    NotAllowed,
    ZeroThreshold,
    NotEnoughFriends,
    MaxFriends,
    NotSorted,
    NotRecoverable,
    AlreadyRecoverable,
    AlreadyStarted,
    NotStarted,
    NotFriend,
    DelayPeriod,
    AlreadyVouched,
    Threshold,
    StillActive,
    Overflow,
    AlreadyProxy,
    BadState,
    // some variants omitted
}

Variants

NotAllowed

User is not allowed to make a call on behalf of this account

ZeroThreshold

Threshold must be greater than zero

NotEnoughFriends

Friends list must be greater than zero and threshold

MaxFriends

Friends list must be less than max friends

NotSorted

Friends list must be sorted and free of duplicates

NotRecoverable

This account is not set up for recovery

AlreadyRecoverable

This account is already set up for recovery

AlreadyStarted

A recovery process has already started for this account

NotStarted

A recovery process has not started for this rescuer

NotFriend

This account is not a friend who can vouch

DelayPeriod

The friend must wait until the delay period to vouch for this recovery

AlreadyVouched

This user has already vouched for this recovery

Threshold

The threshold for recovering this account has not been met

StillActive

There are still active recovery attempts that need to be closed

Overflow

There was an overflow in a calculation

AlreadyProxy

This account is already set up for recovery

BadState

Some internal state is broken.

Trait Implementations

impl<T: Config> Debug for Error<T>[src]

impl<T: Config> ModuleErrorMetadata for Error<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Error<T> where
    T: RefUnwindSafe

impl<T> Send for Error<T> where
    T: Send

impl<T> Sync for Error<T> where
    T: Sync

impl<T> Unpin for Error<T> where
    T: Unpin

impl<T> UnwindSafe for Error<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedConversion for T[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IsType<T> for T[src]

impl<T, Outer> IsWrappedBy<Outer> for T where
    T: From<Outer>,
    Outer: AsRef<T> + AsMut<T> + From<T>, 

pub fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

pub fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 

impl<T, S> UniqueSaturatedInto<T> for S where
    T: Bounded,
    S: TryInto<T>, 

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithPostDispatchInfo for T where
    T: Into<DispatchError>, 
[src]