pub struct ProbeOutcome {
pub status: ProbeStatus,
pub target_ip: Ipv4Addr,
}
Fields§
§status: ProbeStatus
§target_ip: Ipv4Addr
Implementations§
Source§impl ProbeOutcome
impl ProbeOutcome
pub fn new(status: ProbeStatus, target_ip: Ipv4Addr) -> Self
Trait Implementations§
Source§impl Clone for ProbeOutcome
impl Clone for ProbeOutcome
Source§fn clone(&self) -> ProbeOutcome
fn clone(&self) -> ProbeOutcome
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 ProbeOutcome
impl Debug for ProbeOutcome
Source§impl Hash for ProbeOutcome
impl Hash for ProbeOutcome
Source§impl Ord for ProbeOutcome
impl Ord for ProbeOutcome
Source§fn cmp(&self, other: &ProbeOutcome) -> Ordering
fn cmp(&self, other: &ProbeOutcome) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ProbeOutcome
impl PartialEq for ProbeOutcome
Source§impl PartialOrd for ProbeOutcome
impl PartialOrd for ProbeOutcome
impl Copy for ProbeOutcome
impl Eq for ProbeOutcome
impl StructuralPartialEq for ProbeOutcome
Auto Trait Implementations§
impl Freeze for ProbeOutcome
impl RefUnwindSafe for ProbeOutcome
impl Send for ProbeOutcome
impl Sync for ProbeOutcome
impl Unpin for ProbeOutcome
impl UnwindSafe for ProbeOutcome
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