DropGuardResult

Type Alias DropGuardResult 

Source
pub type DropGuardResult<T, A> = AllocResult<DropGuard<T, A>>;
Expand description

An AllocResult containing a DropGuard

Aliased Type§

pub enum DropGuardResult<T, A> {
    Ok(DropGuard<T, A>),
    Err(AllocErrorWithLayout),
}

Variants§

§1.0.0

Ok(DropGuard<T, A>)

Contains the success value

§1.0.0

Err(AllocErrorWithLayout)

Contains the error value