[−][src]Struct capsule_ffi::rte_eth_link
Fields
link_speed: u32
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
__bindgen_padding_0: [u8; 3]
Implementations
impl rte_eth_link
[src]
pub fn link_duplex(&self) -> u16
[src]
pub fn set_link_duplex(&mut self, val: u16)
[src]
pub fn link_autoneg(&self) -> u16
[src]
pub fn set_link_autoneg(&mut self, val: u16)
[src]
pub fn link_status(&self) -> u16
[src]
pub fn set_link_status(&mut self, val: u16)
[src]
pub fn new_bitfield_1(
link_duplex: u16,
link_autoneg: u16,
link_status: u16
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
link_duplex: u16,
link_autoneg: u16,
link_status: u16
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
impl Clone for rte_eth_link
[src]
fn clone(&self) -> rte_eth_link
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for rte_eth_link
[src]
impl Debug for rte_eth_link
[src]
impl Default for rte_eth_link
[src]
fn default() -> rte_eth_link
[src]
impl PartialEq<rte_eth_link> for rte_eth_link
[src]
fn eq(&self, other: &rte_eth_link) -> bool
[src]
fn ne(&self, other: &rte_eth_link) -> bool
[src]
impl StructuralPartialEq for rte_eth_link
[src]
Auto Trait Implementations
impl RefUnwindSafe for rte_eth_link
impl Send for rte_eth_link
impl Sync for rte_eth_link
impl Unpin for rte_eth_link
impl UnwindSafe for rte_eth_link
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,