Result

Type Alias Result 

Source
pub type Result<T> = Result<T, Error>;
Expand description

Type alias for results containing crate-based errors

Aliased Type§

pub enum Result<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value

Trait Implementations§

Source§

impl<T> From<SignerError> for Result<T>

Source§

fn from(err: SignerError) -> Self

Converts to this type from the input type.
Source§

impl<T> From<VerifierError> for Result<T>

Source§

fn from(err: VerifierError) -> Self

Converts to this type from the input type.