[][src]Struct ethercat_soem_sys::eoe_param

#[repr(C)]pub struct eoe_param {
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub mac: eoe_ethaddr_t,
    pub ip: eoe_ip4_addr_t,
    pub subnet: eoe_ip4_addr_t,
    pub default_gateway: eoe_ip4_addr_t,
    pub dns_ip: eoe_ip4_addr_t,
    pub dns_name: [c_char; 32],
}

EoE IP request structure, storage only, no need to pack

Fields

_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>mac: eoe_ethaddr_tip: eoe_ip4_addr_tsubnet: eoe_ip4_addr_tdefault_gateway: eoe_ip4_addr_tdns_ip: eoe_ip4_addr_tdns_name: [c_char; 32]

Implementations

impl eoe_param[src]

pub fn mac_set(&self) -> u8[src]

pub fn set_mac_set(&mut self, val: u8)[src]

pub fn ip_set(&self) -> u8[src]

pub fn set_ip_set(&mut self, val: u8)[src]

pub fn subnet_set(&self) -> u8[src]

pub fn set_subnet_set(&mut self, val: u8)[src]

pub fn default_gateway_set(&self) -> u8[src]

pub fn set_default_gateway_set(&mut self, val: u8)[src]

pub fn dns_ip_set(&self) -> u8[src]

pub fn set_dns_ip_set(&mut self, val: u8)[src]

pub fn dns_name_set(&self) -> u8[src]

pub fn set_dns_name_set(&mut self, val: u8)[src]

pub fn new_bitfield_1(
    mac_set: u8,
    ip_set: u8,
    subnet_set: u8,
    default_gateway_set: u8,
    dns_ip_set: u8,
    dns_name_set: u8
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for eoe_param[src]

impl Copy for eoe_param[src]

impl Debug for eoe_param[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.