pub struct TcpdumpEvent {
pub capture_id: u64,
pub line: String,
pub is_stderr: bool,
}Expand description
One line from a running tcpdump capture, as forwarded over the event bus.
Fields§
§capture_id: u64§line: String§is_stderr: booltrue if the line came from stderr (e.g. tcpdump startup banner
or a libpcap warning) — UI can dim these.
Trait Implementations§
Source§impl Clone for TcpdumpEvent
impl Clone for TcpdumpEvent
Source§fn clone(&self) -> TcpdumpEvent
fn clone(&self) -> TcpdumpEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TcpdumpEvent
impl RefUnwindSafe for TcpdumpEvent
impl Send for TcpdumpEvent
impl Sync for TcpdumpEvent
impl Unpin for TcpdumpEvent
impl UnsafeUnpin for TcpdumpEvent
impl UnwindSafe for TcpdumpEvent
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