pub struct NetflowCommon {
pub version: u16,
pub timestamp: u32,
pub flowsets: Vec<NetflowCommonFlowSet>,
}Expand description
Common structure for Netflow
Fields§
§version: u16§timestamp: u32§flowsets: Vec<NetflowCommonFlowSet>Trait Implementations§
Source§impl Debug for NetflowCommon
impl Debug for NetflowCommon
Source§impl Default for NetflowCommon
impl Default for NetflowCommon
Source§fn default() -> NetflowCommon
fn default() -> NetflowCommon
Returns the “default value” for a type. Read more
Source§impl From<&IPFix> for NetflowCommon
impl From<&IPFix> for NetflowCommon
Source§impl From<&V5> for NetflowCommon
impl From<&V5> for NetflowCommon
Source§impl From<&V7> for NetflowCommon
impl From<&V7> for NetflowCommon
Source§impl From<&V9> for NetflowCommon
impl From<&V9> for NetflowCommon
Source§impl TryFrom<&NetflowPacket> for NetflowCommon
impl TryFrom<&NetflowPacket> for NetflowCommon
Source§type Error = NetflowCommonError
type Error = NetflowCommonError
The type returned in the event of a conversion error.
Source§fn try_from(value: &NetflowPacket) -> Result<Self, NetflowCommonError>
fn try_from(value: &NetflowPacket) -> Result<Self, NetflowCommonError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for NetflowCommon
impl RefUnwindSafe for NetflowCommon
impl Send for NetflowCommon
impl Sync for NetflowCommon
impl Unpin for NetflowCommon
impl UnwindSafe for NetflowCommon
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