Type Alias CollectorResult

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

The result type used when multiple kinds of errors can be encountered during collection.

Aliased Type§

pub enum CollectorResult<T> {
    Ok(T),
    Err(CollectorError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(CollectorError)

Contains the error value