Struct rustls::key_log_file::KeyLogFile
source · pub struct KeyLogFile(Mutex<KeyLogFileInner>);
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.
Tuple Fields§
§0: Mutex<KeyLogFileInner>
Implementations§
source§impl KeyLogFile
impl KeyLogFile
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for KeyLogFile
impl RefUnwindSafe for KeyLogFile
impl Send for KeyLogFile
impl Sync for KeyLogFile
impl Unpin for KeyLogFile
impl UnwindSafe for KeyLogFile
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more