Type Alias jsonrpsee_types::error::SubscriptionResult

source ·
pub type SubscriptionResult = Result<(), SubscriptionEmptyError>;
Expand description

The return type of the subscription’s method for the rpc server implementation.

Note: The error does not contain any data and is discarded on drop.

Aliased Type§

enum SubscriptionResult {
    Ok(()),
    Err(SubscriptionEmptyError),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(SubscriptionEmptyError)

Contains the error value