pub struct PingOptions {
pub ttl: u8,
pub dont_fragment: bool,
}Fields§
§ttl: u8Package TTL
dont_fragment: boolSocket’s Dont Fragment
Trait Implementations§
Source§impl Clone for PingOptions
impl Clone for PingOptions
Source§fn clone(&self) -> PingOptions
fn clone(&self) -> PingOptions
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 moreAuto Trait Implementations§
impl Freeze for PingOptions
impl RefUnwindSafe for PingOptions
impl Send for PingOptions
impl Sync for PingOptions
impl Unpin for PingOptions
impl UnwindSafe for PingOptions
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