pub enum CollectionMode {
Collector,
Listener,
}Expand description
CSI collection behaviour for the node.
Listener keeps CSI traffic flowing without processing packets; Collector actively processes
it. A Listener sniffer is effectively useless — traffic arrives and nothing reads it — which is
worth knowing before configuring one.
Restored with the rest of this taxonomy. Distinct from crate::CollectorMode despite the
similar name: this says how much a node does with CSI, that one says how a collector obtains
frames to measure.
Variants§
Collector
Enables CSI collection and processes CSI data.
Listener
Enables CSI collection but does not process CSI data.
Trait Implementations§
Source§impl Clone for CollectionMode
impl Clone for CollectionMode
Source§fn clone(&self) -> CollectionMode
fn clone(&self) -> CollectionMode
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 moreimpl Copy for CollectionMode
impl Eq for CollectionMode
Source§impl PartialEq for CollectionMode
impl PartialEq for CollectionMode
impl StructuralPartialEq for CollectionMode
Auto Trait Implementations§
impl Freeze for CollectionMode
impl RefUnwindSafe for CollectionMode
impl Send for CollectionMode
impl Sync for CollectionMode
impl Unpin for CollectionMode
impl UnsafeUnpin for CollectionMode
impl UnwindSafe for CollectionMode
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