Struct rustls::KeyLogFile
source · pub struct KeyLogFile(/* private fields */);
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§
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