Struct rustls::KeyLogFile[][src]

pub struct KeyLogFile(_);
Expand description

KeyLog implementation that opens a file whose name is given by the SSLKEYLOGFILE environment variable, and writes keys into it.

If SSLKEYLOGFILE is not set, this does nothing.

If such a file cannot be opened, or cannot be written then this does nothing but logs errors at warning-level.

Implementations

Makes a new KeyLogFile. The environment variable is inspected and the named file is opened during this call.

Trait Implementations

Log the given secret. client_random is provided for session identification. label describes precisely what secret means: Read more

Indicates whether the secret with label label will be logged. Read more

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.

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.