[][src]Enum lair_keystore_api::LairError

pub enum LairError {
    GhostError(GhostError),
    ProcessAlreadyExists,
    IpcClientConnectError(StringBox<dyn Error + Send + Sync>),
    PubKeyNotFound,
    Other(Box<dyn Error + Send + Sync>),
}

Keystore Error Type.

Variants

GhostError(GhostError)

An error generated from the GhostActor system.

ProcessAlreadyExists

Trying to start up Lair process, but a pidfile/process already exists

IpcClientConnectError(StringBox<dyn Error + Send + Sync>)

Failure to establish client connection to Lair IPC.

PubKeyNotFound

A public key was provided (e.g. for signing) that cannot be found in the keystore

Other(Box<dyn Error + Send + Sync>)

Unspecified Internal error.

Implementations

impl LairError[src]

pub fn other(e: impl Into<Box<dyn Error + Send + Sync>>) -> Self[src]

Build an "Other" type LairError.

Trait Implementations

impl Debug for LairError[src]

impl Display for LairError[src]

impl Error for LairError[src]

impl<'_> From<&'_ str> for LairError[src]

impl From<GhostError> for LairError[src]

impl From<LairError> for ()[src]

impl From<String> for LairError[src]

Auto Trait Implementations

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> From<T> for T[src]

impl<T> FutureExt for T

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]