pub struct LogguardConfig {
pub protocol_warns: bool,
pub dump_limit: usize,
pub dump_level: LogLevel,
}Expand description
Log monitoring configuration options.
Controls Tor log buffering and protocol warning handling.
Fields§
§protocol_warns: boolEnable ProtocolWarnings in Tor.
dump_limit: usizeMaximum number of log entries to buffer.
dump_level: LogLevelMinimum log level to buffer.
Trait Implementations§
Source§impl Clone for LogguardConfig
impl Clone for LogguardConfig
Source§fn clone(&self) -> LogguardConfig
fn clone(&self) -> LogguardConfig
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 LogguardConfig
impl Debug for LogguardConfig
Source§impl Default for LogguardConfig
impl Default for LogguardConfig
Source§impl<'de> Deserialize<'de> for LogguardConfig
impl<'de> Deserialize<'de> for LogguardConfig
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 LogguardConfig
impl PartialEq for LogguardConfig
Source§impl Serialize for LogguardConfig
impl Serialize for LogguardConfig
impl StructuralPartialEq for LogguardConfig
Auto Trait Implementations§
impl Freeze for LogguardConfig
impl RefUnwindSafe for LogguardConfig
impl Send for LogguardConfig
impl Sync for LogguardConfig
impl Unpin for LogguardConfig
impl UnwindSafe for LogguardConfig
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