Skip to main content

CallResult

Type Alias CallResult 

Source
pub type CallResult = Result<WithTracker<SelfRef<RequestResponse<'static>>>, VoxError>;
Expand description

Result type for one caller-visible RPC call: either a tracked response or an error.

The tracked value is the wire-level RequestResponse that resolved the current request attempt for that call.

Aliased Type§

pub enum CallResult {
    Ok(WithTracker<SelfRef<RequestResponse<'static>>>),
    Err(VoxError),
}

Variants§

§1.0.0

Ok(WithTracker<SelfRef<RequestResponse<'static>>>)

Contains the success value

§1.0.0

Err(VoxError)

Contains the error value