ide

Type Alias Cancellable

source
pub type Cancellable<T> = Result<T, Cancelled>;

Aliased Type§

enum Cancellable<T> {
    Ok(T),
    Err(Cancelled),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Cancelled)

Contains the error value