Type Alias allocator::AllocResult

source ·
pub type AllocResult<T = ()> = Result<T, AllocError>;
Expand description

A Result type with AllocError as the error type.

Aliased Type§

enum AllocResult<T = ()> {
    Ok(T),
    Err(AllocError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(AllocError)

Contains the error value