pub enum ConnectionLogMode {
None,
Memory,
File,
Database,
Both,
}Expand description
Connection logging mode
Variants§
None
No connection logging at all - ghost mode, leaves no trace This disables ALL connection tracking including memory-only tracking
Memory
Memory only - connections tracked but never persisted to disk/db Useful for real-time monitoring without evidence
File
Log connections to a file (append mode)
Database
Log connections to SQLite database
Both
Log to both file and database
Trait Implementations§
Source§impl Clone for ConnectionLogMode
impl Clone for ConnectionLogMode
Source§fn clone(&self) -> ConnectionLogMode
fn clone(&self) -> ConnectionLogMode
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 ConnectionLogMode
impl Debug for ConnectionLogMode
Source§impl Default for ConnectionLogMode
impl Default for ConnectionLogMode
Source§fn default() -> ConnectionLogMode
fn default() -> ConnectionLogMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConnectionLogMode
impl<'de> Deserialize<'de> for ConnectionLogMode
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
Source§impl PartialEq for ConnectionLogMode
impl PartialEq for ConnectionLogMode
Source§impl Serialize for ConnectionLogMode
impl Serialize for ConnectionLogMode
impl Eq for ConnectionLogMode
impl StructuralPartialEq for ConnectionLogMode
Auto Trait Implementations§
impl Freeze for ConnectionLogMode
impl RefUnwindSafe for ConnectionLogMode
impl Send for ConnectionLogMode
impl Sync for ConnectionLogMode
impl Unpin for ConnectionLogMode
impl UnwindSafe for ConnectionLogMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.