Skip to main content

IntoSubscriptionCloseResponse

Trait IntoSubscriptionCloseResponse 

Source
pub trait IntoSubscriptionCloseResponse {
    // Required method
    fn into_response(self) -> SubscriptionCloseResponse;
}
Available on crate feature server only.
Expand description

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

Required Methods§

Source

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§

Source§

impl IntoSubscriptionCloseResponse for ()

Source§

impl IntoSubscriptionCloseResponse for Result<(), SubscriptionError>

Implementors§