Skip to main content

ProviderResult

Type Alias ProviderResult 

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

Result type for provider operations.

All provider methods return this type, wrapping either a success value or a ProviderError describing what went wrong.

Aliased Type§

pub enum ProviderResult<T> {
    Ok(T),
    Err(ProviderError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ProviderError)

Contains the error value