pub struct KeyLogFile(/* private fields */);
Available on crate feature
std
only.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§
Source§impl Debug for KeyLogFile
impl Debug for KeyLogFile
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes