Struct jsonrpc_core::control::Session [] [src]

pub struct Session { /* fields omitted */ }

Object representing current session. It's up to JSON-RPC transport to decide when sessions are created.

Subscriptions are only possible when session is provided. Dropping session object will automatically unsubscribe from all previously opened subscriptions.

Methods

impl Session
[src]

Removes a subscription from auto-unsubscribe. Client has manually unsubscribed.

Trait Implementations

impl Clone for Session
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Session
[src]

Returns the "default value" for a type. Read more