Skip to main content

SubscriptionResult

Type Alias SubscriptionResult 

Source
pub type SubscriptionResult = Result<(), SubscriptionError>;
Expand description

The return type if the subscription wants to return Result.

Aliased Type§

pub enum SubscriptionResult {
    Ok(()),
    Err(SubscriptionError),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(SubscriptionError)

Contains the error value

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.