Type Alias ReadResult

Source
pub type ReadResult = Result<(OpCode, Vec<u8>), ReadError>;
Expand description

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

Aliased Type§

enum ReadResult {
    Ok((OpCode, Vec<u8>)),
    Err(ReadError),
}

Variants§

§1.0.0

Ok((OpCode, Vec<u8>))

Contains the success value

§1.0.0

Err(ReadError)

Contains the error value