pub struct ScamperPing { /* private fields */ }Expand description
A scamper ping measurement result.
Implementations§
Source§impl ScamperPing
impl ScamperPing
pub fn dst(&self) -> Option<ScamperAddr>
pub fn src(&self) -> Option<ScamperAddr>
pub fn rtr(&self) -> Option<ScamperAddr>
pub fn userid(&self) -> u32
pub fn start(&self) -> Option<SystemTime>
pub fn stop_reason(&self) -> PingStopReason
pub fn stop_data(&self) -> u8
pub fn errmsg(&self) -> Option<&str>
pub fn attempts(&self) -> u16
pub fn pktsize(&self) -> u16
pub fn method(&self) -> u8
pub fn ttl(&self) -> u8
pub fn tos(&self) -> u8
pub fn sport(&self) -> u16
pub fn dport(&self) -> u16
pub fn icmpsum(&self) -> u16
pub fn tcpseq(&self) -> u32
pub fn tcpack(&self) -> u32
pub fn flags(&self) -> u32
pub fn stop_count(&self) -> u16
pub fn pmtu(&self) -> u16
pub fn sent(&self) -> u16
pub fn datalen(&self) -> u16
pub fn data(&self) -> &[u8] ⓘ
pub fn wait_probe(&self) -> Option<Duration>
pub fn wait_timeout(&self) -> Option<Duration>
pub fn is_method_icmp(&self) -> bool
pub fn is_method_tcp(&self) -> bool
pub fn is_method_udp(&self) -> bool
pub fn is_method_vary_sport(&self) -> bool
pub fn is_method_vary_dport(&self) -> bool
pub fn list(&self) -> Option<ScamperList>
pub fn cycle(&self) -> Option<ScamperCycle>
Sourcepub fn probe(&self, i: u16) -> Option<ScamperPingProbe>
pub fn probe(&self, i: u16) -> Option<ScamperPingProbe>
Return probe at index i.
Sourcepub fn stats(&self) -> Option<ScamperPingStats>
pub fn stats(&self) -> Option<ScamperPingStats>
Compute and return ping statistics.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScamperPing
impl RefUnwindSafe for ScamperPing
impl Unpin for ScamperPing
impl UnsafeUnpin for ScamperPing
impl UnwindSafe for ScamperPing
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