pub struct Connection {
pub session: usize,
pub conn: Socket,
pub info: ConnectionInfo,
pub last_packet: SystemTime,
pub packets: Vec<Packets>,
pub adresses: Vec<Adress>,
}Fields§
§session: usize§conn: Socket§info: ConnectionInfo§last_packet: SystemTime§packets: Vec<Packets>§adresses: Vec<Adress>Implementations§
Trait Implementations§
impl Send for Connection
Auto Trait Implementations§
impl Freeze for Connection
impl RefUnwindSafe for Connection
impl Sync for Connection
impl Unpin 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