jsonrpsee_core::server

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

Implementations on Foreign Types§

source§

impl IntoSubscriptionCloseResponse for Result<(), StringError>

source§

impl IntoSubscriptionCloseResponse for ()

Implementors§