Struct rustls::KeyLogFile[][src]

pub struct KeyLogFile(_);

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.

Methods

impl KeyLogFile
[src]

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

Trait Implementations

impl KeyLog for KeyLogFile
[src]

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

Auto Trait Implementations

impl Send for KeyLogFile

impl Sync for KeyLogFile