Struct parity_rpc::v1::extractors::WsStats
source · [−]pub struct WsStats { /* private fields */ }
Expand description
WebSockets RPC usage statistics.
Implementations
Trait Implementations
sourceimpl SessionStats for WsStats
impl SessionStats for WsStats
sourcefn open_session(&self, _id: SessionId)
fn open_session(&self, _id: SessionId)
Executed when new session is opened.
sourcefn close_session(&self, _id: SessionId)
fn close_session(&self, _id: SessionId)
Executed when session is closed.
Auto Trait Implementations
impl !RefUnwindSafe for WsStats
impl Send for WsStats
impl Sync for WsStats
impl Unpin for WsStats
impl !UnwindSafe for WsStats
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more