Struct ethercat_sys::ec_ioctl_master_t
source · #[repr(C)]pub struct ec_ioctl_master_t {Show 21 fields
pub slave_count: u32,
pub config_count: u32,
pub domain_count: u32,
pub eoe_handler_count: u32,
pub phase: u8,
pub active: u8,
pub scan_busy: u8,
pub devices: [ec_ioctl_master_t_ec_ioctl_device; 1],
pub num_devices: u32,
pub tx_count: u64,
pub rx_count: u64,
pub tx_bytes: u64,
pub rx_bytes: u64,
pub tx_frame_rates: [i32; 3],
pub rx_frame_rates: [i32; 3],
pub tx_byte_rates: [i32; 3],
pub rx_byte_rates: [i32; 3],
pub loss_rates: [i32; 3],
pub app_time: u64,
pub dc_ref_time: u64,
pub ref_clock: u16,
}
Fields§
§slave_count: u32
§config_count: u32
§domain_count: u32
§eoe_handler_count: u32
§phase: u8
§active: u8
§scan_busy: u8
§devices: [ec_ioctl_master_t_ec_ioctl_device; 1]
§num_devices: u32
§tx_count: u64
§rx_count: u64
§tx_bytes: u64
§rx_bytes: u64
§tx_frame_rates: [i32; 3]
§rx_frame_rates: [i32; 3]
§tx_byte_rates: [i32; 3]
§rx_byte_rates: [i32; 3]
§loss_rates: [i32; 3]
§app_time: u64
§dc_ref_time: u64
§ref_clock: u16
Trait Implementations§
source§impl Clone for ec_ioctl_master_t
impl Clone for ec_ioctl_master_t
source§fn clone(&self) -> ec_ioctl_master_t
fn clone(&self) -> ec_ioctl_master_t
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 Default for ec_ioctl_master_t
impl Default for ec_ioctl_master_t
source§fn default() -> ec_ioctl_master_t
fn default() -> ec_ioctl_master_t
Returns the “default value” for a type. Read more
impl Copy for ec_ioctl_master_t
Auto Trait Implementations§
impl RefUnwindSafe for ec_ioctl_master_t
impl Send for ec_ioctl_master_t
impl Sync for ec_ioctl_master_t
impl Unpin for ec_ioctl_master_t
impl UnwindSafe for ec_ioctl_master_t
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