Type Alias hvdef::HvResult

source ·
pub type HvResult<T> = Result<T, HvError>;
Expand description

Hypervisor result type for simple hypercalls, or code where only an HV_STATUS is to be returned. The error is an HvError and the success value T is the output data of the hypercall.

Aliased Type§

enum HvResult<T> {
    Ok(T),
    Err(HvError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(HvError)

Contains the error value