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§
Ok(DropGuard<T, A>)
Contains the success value
Err(AllocErrorWithLayout)
Contains the error value