pub type GnsResult<T> = Result<T, EResult>;
Expand description
Outcome of many functions from this library, basic type alias with steam [sys::EResult
] as error.
If the result is [sys::EResult::k_EResultOK
], the value can safely be wrapped, otherwise we return the error.
Aliased Type§
enum GnsResult<T> {
Ok(T),
Err(EResult),
}