pub enum ProtocolType {
Ipv4,
Tcp,
Udp,
}
Expand description
Enum that contains the current implemented type extractable
Variants§
Trait Implementations§
Source§impl Debug for ProtocolType
impl Debug for ProtocolType
Source§impl PartialEq for ProtocolType
impl PartialEq for ProtocolType
impl Eq for ProtocolType
impl StructuralPartialEq for ProtocolType
Auto Trait Implementations§
impl Freeze for ProtocolType
impl RefUnwindSafe for ProtocolType
impl Send for ProtocolType
impl Sync for ProtocolType
impl Unpin for ProtocolType
impl UnwindSafe for ProtocolType
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