Struct turn::server::request::Request[][src]

pub struct Request {
    pub conn: Arc<dyn Conn + Send + Sync>,
    pub src_addr: SocketAddr,
    pub buff: Vec<u8>,
    pub allocation_manager: Arc<Manager>,
    pub nonces: Arc<Mutex<HashMap<String, Instant>>>,
    pub auth_handler: Arc<Box<dyn AuthHandler + Send + Sync>>,
    pub realm: String,
    pub channel_bind_timeout: Duration,
}

Fields

conn: Arc<dyn Conn + Send + Sync>src_addr: SocketAddrbuff: Vec<u8>allocation_manager: Arc<Manager>nonces: Arc<Mutex<HashMap<String, Instant>>>auth_handler: Arc<Box<dyn AuthHandler + Send + Sync>>realm: Stringchannel_bind_timeout: Duration

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.