Skip to main content

AllocResult

Type Alias AllocResult 

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

A Result type with AllocError as the error type.

Aliased Type§

pub 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