#[repr(C)]pub struct rustls_log_params<'a> {
pub level: rustls_log_level,
pub message: rustls_str<'a>,
}
Expand description
Parameter structure passed to a rustls_log_callback
.
Fields§
§level: rustls_log_level
The log level the message was logged at.
message: rustls_str<'a>
The message that was logged.
Auto Trait Implementations§
impl<'a> Freeze for rustls_log_params<'a>
impl<'a> RefUnwindSafe for rustls_log_params<'a>
impl<'a> !Send for rustls_log_params<'a>
impl<'a> !Sync for rustls_log_params<'a>
impl<'a> Unpin for rustls_log_params<'a>
impl<'a> UnwindSafe for rustls_log_params<'a>
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