pub enum Transport {
Udp,
Tcp,
Sctp,
File,
}Expand description
Transport protocol of the Transport Session (RFC 7011 Section 10)
Variants§
Udp
UDP: Template Withdrawals are ignored, and Templates can expire (see
DecoderConfig::template_lifetime)
Tcp
TCP: Template Withdrawals are applied, Templates never expire
Sctp
SCTP: Template Withdrawals are applied, Templates never expire
File
IPFIX File (RFC 5655): Template Withdrawals are applied, Templates never expire. One file is one Transport Session.
Trait Implementations§
impl Copy for Transport
impl Eq for Transport
impl StructuralPartialEq for Transport
Auto Trait Implementations§
impl Freeze for Transport
impl RefUnwindSafe for Transport
impl Send for Transport
impl Sync for Transport
impl Unpin for Transport
impl UnsafeUnpin for Transport
impl UnwindSafe for Transport
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