Struct path::Data [] [src]

pub struct Data<C> {
    pub custom: Option<C>,
    // some fields omitted
}

Identifies the connection

Fields

Data from the user

Methods

impl<C> Data<C>
[src]

Create new connection data

Retrieve the current packet counter value

Trait Implementations

impl<C: Clone> Clone for Data<C>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<C: Debug> Debug for Data<C>
[src]

Formats the value using the given formatter.

impl<C: Eq> Eq for Data<C>
[src]

impl<C: PartialEq> PartialEq for Data<C>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.