Struct path::Data
[−]
[src]
pub struct Data<C> { pub custom: Option<C>, // some fields omitted }
Identifies the connection
Fields
custom: Option<C>
Data from the user
Methods
impl<C> Data<C>
[src]
fn new() -> Self
Create new connection data
fn packet_counter(&self) -> u64
Retrieve the current packet counter value
Trait Implementations
impl<C: Clone> Clone for Data<C>
[src]
fn clone(&self) -> Data<C>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more