Type Alias capnp::Result

source ·
pub type Result<T> = Result<T, Error>;
Expand description

Because messages are lazily validated, the return type of any method that reads a pointer field must be wrapped in a Result.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value