Type Alias WriteResult

Source
pub type WriteResult = Result<u64, WriteError>;
Expand description

Represents the result of attempting a syscall write on the file descriptor

Aliased Type§

enum WriteResult {
    Ok(u64),
    Err(WriteError),
}

Variants§

§1.0.0

Ok(u64)

Contains the success value

§1.0.0

Err(WriteError)

Contains the error value