Skip to main content

SignerResult

Type Alias SignerResult 

Source
pub type SignerResult<T = ()> = Result<T, Box<dyn Error + Send + Sync + 'static>>;
Expand description

Result alias for RequestSigner::sign. Boxed errors so signer implementations can use any error type that satisfies the bound.

Aliased Type§

pub enum SignerResult<T = ()> {
    Ok(T),
    Err(Box<dyn Error + Sync + Send>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

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

Contains the error value