pub struct Connection {
pub read: FramedRead<OwnedReadHalf, LengthDelimitedCodec>,
pub write: OwnedWriteHalf,
pub keys: Keys,
pub server_pubkey: PubKey,
pub client_id: u64,
pub addr: String,
}Fields§
§read: FramedRead<OwnedReadHalf, LengthDelimitedCodec>§write: OwnedWriteHalf§keys: Keys§server_pubkey: PubKey§client_id: u64§addr: StringImplementations§
Auto Trait Implementations§
impl Freeze for Connection
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnsafeUnpin for Connection
impl UnwindSafe for Connection
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