Struct jsonrpsee_ws_server::WsStopHandle [−][src]
pub struct WsStopHandle(_);
Expand description
Handle that is able to stop the running server.
Implementations
Requests server to stop. Returns an error if server was already stopped.
Returns a future that can be awaited for when the server shuts down.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for StopHandle
impl Send for StopHandle
impl Sync for StopHandle
impl Unpin for StopHandle
impl !UnwindSafe for StopHandle
Blanket Implementations
Mutably borrows from an owned value. Read more