Skip to main content

SharedResult

Type Alias SharedResult 

Source
pub(super) type SharedResult = Result<Arc<Outcome>, Failure>;
Expand description

Outcome shared by every caller coalesced onto one fetch. Cheap to clone so the worker can broadcast it down each subscriber’s channel.

Aliased Type§

pub(super) enum SharedResult {
    Ok(Arc<Outcome>),
    Err(Failure),
}

Variants§

§1.0.0

Ok(Arc<Outcome>)

Contains the success value

§1.0.0

Err(Failure)

Contains the error value