#[repr(C)]pub struct EthSwitchState {
pub eth_sense_state: u32,
pub eth_act_pin_num: u32,
}
Expand description
IOCTL ethernet switch state
Fields§
§eth_sense_state: u32
Sense state - 0 = pin off, 1 = pin on
eth_act_pin_num: u32
Pin number for ethernet activation
Trait Implementations§
Source§impl Clone for EthSwitchState
impl Clone for EthSwitchState
Source§fn clone(&self) -> EthSwitchState
fn clone(&self) -> EthSwitchState
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 EthSwitchState
impl Debug for EthSwitchState
Source§impl Ord for EthSwitchState
impl Ord for EthSwitchState
Source§fn cmp(&self, other: &EthSwitchState) -> Ordering
fn cmp(&self, other: &EthSwitchState) -> 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 EthSwitchState
impl PartialEq for EthSwitchState
Source§impl PartialOrd for EthSwitchState
impl PartialOrd for EthSwitchState
impl Copy for EthSwitchState
impl Eq for EthSwitchState
impl StructuralPartialEq for EthSwitchState
Auto Trait Implementations§
impl Freeze for EthSwitchState
impl RefUnwindSafe for EthSwitchState
impl Send for EthSwitchState
impl Sync for EthSwitchState
impl Unpin for EthSwitchState
impl UnwindSafe for EthSwitchState
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