Struct loco_protocol::secure::layer::SecureLayer[][src]

pub struct SecureLayer<S> { /* fields omitted */ }
Expand description

Common secure layer used in client and server

Implementations

Read one encrypted packet

Write one encrypted packet. Returns size of packet written

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

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.