Type Alias jsonrpsee_core::SubscriptionResult

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

The return type if the subscription wants to return Result.

Aliased Type§

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

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(StringError)

Contains the error value