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§
sourcefn into_response(self) -> SubscriptionCloseResponse
fn into_response(self) -> SubscriptionCloseResponse
Convert something into a subscription response