arti_client::rpc

Type Alias ClientConnectionResult

Source
pub type ClientConnectionResult<T> = Result<T, Box<dyn ClientConnectionError>>;
Available on crate feature rpc only.
Expand description

Type alias for a Result return by ClientConnectionTarget

Aliased Type§

enum ClientConnectionResult<T> {
    Ok(T),
    Err(Box<dyn ClientConnectionError>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Box<dyn ClientConnectionError>)

Contains the error value