ResolveResult

Type Alias ResolveResult 

Source
pub type ResolveResult<R> = Result<Option<(Option<String>, Url, <R as Resolver>::Buffer)>, <R as Resolver>::Error>;
Expand description

Helper type to simplify the result of a Resolver.

Aliased Type§

pub enum ResolveResult<R> {
    Ok(Option<(Option<String>, Url, <R as Resolver>::Buffer)>),
    Err(<R as Resolver>::Error),
}

Variants§

§1.0.0

Ok(Option<(Option<String>, Url, <R as Resolver>::Buffer)>)

Contains the success value

§1.0.0

Err(<R as Resolver>::Error)

Contains the error value