pub enum RuleLog {
ExcludeMatchingState,
IncludeMatchingState,
SocketOwner,
}
Expand description
Enum describing logging options
Variants§
ExcludeMatchingState
Log all packets, but only initial packet for connections with state Can be omitted if IncludeMatchingState set
IncludeMatchingState
Log all packets including ones matching state
SocketOwner
Log user id and group id that owns the local socket
Trait Implementations§
source§impl From<RuleLog> for RuleLogSet
impl From<RuleLog> for RuleLogSet
source§impl PartialEq for RuleLog
impl PartialEq for RuleLog
impl Copy for RuleLog
impl Eq for RuleLog
impl StructuralPartialEq for RuleLog
Auto Trait Implementations§
impl Freeze for RuleLog
impl RefUnwindSafe for RuleLog
impl Send for RuleLog
impl Sync for RuleLog
impl Unpin for RuleLog
impl UnwindSafe for RuleLog
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