pub struct ConnectionLogEvents {
pub attempts: bool,
pub connects: bool,
pub disconnects: bool,
pub auth_events: bool,
pub transfer_stats: bool,
pub ip_changes: bool,
pub renegotiations: bool,
}Expand description
What connection events to log
Fields§
§attempts: boolLog connection attempts (before authentication)
connects: boolLog successful connections
disconnects: boolLog disconnections
auth_events: boolLog authentication events (success/failure)
transfer_stats: boolLog data transfer statistics on disconnect
ip_changes: boolLog IP address changes (reconnects from different IP)
renegotiations: boolLog key renegotiations
Trait Implementations§
Source§impl Clone for ConnectionLogEvents
impl Clone for ConnectionLogEvents
Source§fn clone(&self) -> ConnectionLogEvents
fn clone(&self) -> ConnectionLogEvents
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConnectionLogEvents
impl Debug for ConnectionLogEvents
Source§impl Default for ConnectionLogEvents
impl Default for ConnectionLogEvents
Source§fn default() -> ConnectionLogEvents
fn default() -> ConnectionLogEvents
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConnectionLogEvents
impl<'de> Deserialize<'de> for ConnectionLogEvents
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConnectionLogEvents
impl RefUnwindSafe for ConnectionLogEvents
impl Send for ConnectionLogEvents
impl Sync for ConnectionLogEvents
impl Unpin for ConnectionLogEvents
impl UnwindSafe for ConnectionLogEvents
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