Type Alias Result

Source
pub type Result<T> = Result<T, TwzError>;

Aliased Type§

enum Result<T> {
    Ok(T),
    Err(TwzError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(TwzError)

Contains the error value

Trait Implementations§

Source§

impl From<map_result> for Result<ObjectHandle>

Source§

fn from(value: map_result) -> Self

Converts to this type from the input type.
Source§

impl From<open_result> for Result<RawFd>

Source§

fn from(value: open_result) -> Self

Converts to this type from the input type.
Source§

impl From<spawn_result> for Result<ThreadId>

Source§

fn from(value: spawn_result) -> Self

Converts to this type from the input type.
Source§

impl From<u32_result> for Result<u32>

Source§

fn from(value: u32_result) -> Self

Converts to this type from the input type.