pub enum TcpProbeKind {
Syn1,
Syn2,
Syn3,
Syn4,
Syn5,
Syn6,
Ecn,
}
Variants§
Implementations§
Source§impl TcpProbeKind
impl TcpProbeKind
pub const VALUES: [Self; 7]
pub fn ipv4_total_length(&self) -> u16
pub fn ipv6_payload_length(&self) -> u16
pub fn tcp_options(&self) -> Vec<TcpOption>
Trait Implementations§
Source§impl Clone for TcpProbeKind
impl Clone for TcpProbeKind
Source§fn clone(&self) -> TcpProbeKind
fn clone(&self) -> TcpProbeKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TcpProbeKind
impl Debug for TcpProbeKind
impl Copy for TcpProbeKind
Auto Trait Implementations§
impl Freeze for TcpProbeKind
impl RefUnwindSafe for TcpProbeKind
impl Send for TcpProbeKind
impl Sync for TcpProbeKind
impl Unpin for TcpProbeKind
impl UnwindSafe for TcpProbeKind
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