#[repr(C)]pub struct ethtool_tcpip4_spec {
pub ip4src: u32,
pub ip4dst: u32,
pub psrc: u16,
pub pdst: u16,
pub tos: u8,
}
Fields§
§ip4src: u32
§ip4dst: u32
§psrc: u16
§pdst: u16
§tos: u8
Trait Implementations§
Source§impl Clone for ethtool_tcpip4_spec
impl Clone for ethtool_tcpip4_spec
Source§fn clone(&self) -> ethtool_tcpip4_spec
fn clone(&self) -> ethtool_tcpip4_spec
Returns a copy 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 ethtool_tcpip4_spec
impl Debug for ethtool_tcpip4_spec
Source§impl Default for ethtool_tcpip4_spec
impl Default for ethtool_tcpip4_spec
Source§impl Hash for ethtool_tcpip4_spec
impl Hash for ethtool_tcpip4_spec
Source§impl Ord for ethtool_tcpip4_spec
impl Ord for ethtool_tcpip4_spec
Source§fn cmp(&self, other: ðtool_tcpip4_spec) -> Ordering
fn cmp(&self, other: ðtool_tcpip4_spec) -> 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 ethtool_tcpip4_spec
impl PartialEq for ethtool_tcpip4_spec
Source§impl PartialOrd for ethtool_tcpip4_spec
impl PartialOrd for ethtool_tcpip4_spec
impl Copy for ethtool_tcpip4_spec
impl Eq for ethtool_tcpip4_spec
impl StructuralPartialEq for ethtool_tcpip4_spec
Auto Trait Implementations§
impl Freeze for ethtool_tcpip4_spec
impl RefUnwindSafe for ethtool_tcpip4_spec
impl Send for ethtool_tcpip4_spec
impl Sync for ethtool_tcpip4_spec
impl Unpin for ethtool_tcpip4_spec
impl UnwindSafe for ethtool_tcpip4_spec
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