#[repr(C)]pub struct OverrideData {
pub source_address: Ipv4Address,
pub gateway_address: Ipv4Address,
pub protocol: u8,
pub type_of_service: u8,
pub time_to_live: u8,
pub do_not_fragment: Boolean,
}Fields
source_address: Ipv4Addressgateway_address: Ipv4Addressprotocol: u8type_of_service: u8time_to_live: u8do_not_fragment: BooleanTrait Implementations
sourceimpl Clone for OverrideData
impl Clone for OverrideData
sourcefn clone(&self) -> OverrideData
fn clone(&self) -> OverrideData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for OverrideData
impl Debug for OverrideData
impl Copy for OverrideData
Auto Trait Implementations
impl RefUnwindSafe for OverrideData
impl Send for OverrideData
impl Sync for OverrideData
impl Unpin for OverrideData
impl UnwindSafe for OverrideData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more