pub struct ConnectionState {
pub id: ConnectionId,
pub local_settings: ConnectionSettings,
pub peer_settings: ConnectionSettings,
/* private fields */
}Expand description
Static data for one active connection.
Fields§
§id: ConnectionIdUnique connection identifier
local_settings: ConnectionSettingsOur settings
peer_settings: ConnectionSettingsThe peer’s settings
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConnectionState
impl !RefUnwindSafe for ConnectionState
impl Send for ConnectionState
impl Sync for ConnectionState
impl Unpin for ConnectionState
impl UnsafeUnpin for ConnectionState
impl !UnwindSafe for ConnectionState
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