solana_client::nonblocking::pubsub_client

Type Alias PubsubClientResult

source
pub type PubsubClientResult<T = ()> = Result<T, PubsubClientError>;

Aliased Type§

enum PubsubClientResult<T = ()> {
    Ok(T),
    Err(PubsubClientError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(PubsubClientError)

Contains the error value