Skip to main content

IntoSubscriptionCloseResponse

Trait IntoSubscriptionCloseResponse 

pub trait IntoSubscriptionCloseResponse {
    // Required method
    fn into_response(self) -> SubscriptionCloseResponse;
}
Expand description

Convert something into a subscription close notification before a subscription is terminated.

Required Methods§

fn into_response(self) -> SubscriptionCloseResponse

Convert something into a subscription response

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

§

impl IntoSubscriptionCloseResponse for ()

§

impl IntoSubscriptionCloseResponse for Result<(), SubscriptionError>

Implementors§