pub struct ConnectionContext;Expand description
Per-connection state passed to protocol callbacks.
This empty struct is intentionally extensible. Future protocol features may require storing connection-local data without breaking existing APIs.
Trait Implementations§
Source§impl Default for ConnectionContext
impl Default for ConnectionContext
Source§fn default() -> ConnectionContext
fn default() -> ConnectionContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConnectionContext
impl RefUnwindSafe for ConnectionContext
impl Send for ConnectionContext
impl Sync for ConnectionContext
impl Unpin for ConnectionContext
impl UnwindSafe for ConnectionContext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more