rustix::io

Type Alias Result

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

A specialized Result type for rustix APIs.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Errno)

Contains the error value