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§