Type Alias HidResult

Source
pub type HidResult<T> = Result<T, HidError>;
Expand description

Specialized result type used for many functions in this library

Aliased Type§

pub enum HidResult<T> {
    Ok(T),
    Err(HidError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(HidError)

Contains the error value