pub enum TarpitLogEntry {
Message {
timestamp: NaiveDateTime,
log_level: LogLevel,
issuer: String,
message: String,
},
Event {
timestamp: NaiveDateTime,
ip: SocketAddrV4,
action: Action,
log_level: LogLevel,
},
}
Variants§
Trait Implementations§
Source§impl Debug for TarpitLogEntry
impl Debug for TarpitLogEntry
Source§impl PartialEq for TarpitLogEntry
impl PartialEq for TarpitLogEntry
impl StructuralPartialEq for TarpitLogEntry
Auto Trait Implementations§
impl Freeze for TarpitLogEntry
impl RefUnwindSafe for TarpitLogEntry
impl Send for TarpitLogEntry
impl Sync for TarpitLogEntry
impl Unpin for TarpitLogEntry
impl UnwindSafe for TarpitLogEntry
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