pub struct MainDeviceConfig {
pub dc_static_sync_iterations: u32,
pub retry_behaviour: RetryBehaviour,
}Expand description
Configuration passed to MainDevice.
Fields§
§dc_static_sync_iterations: u32The number of FRMW packets to send during the static phase of Distributed Clocks (DC)
synchronisation.
Defaults to 10000.
If this is set to zero, no static sync will be performed.
retry_behaviour: RetryBehaviourEtherCAT packet (PDU) network retry behaviour.
Trait Implementations§
Source§impl Clone for MainDeviceConfig
impl Clone for MainDeviceConfig
Source§fn clone(&self) -> MainDeviceConfig
fn clone(&self) -> MainDeviceConfig
Returns a duplicate 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 MainDeviceConfig
impl Debug for MainDeviceConfig
Source§impl Default for MainDeviceConfig
impl Default for MainDeviceConfig
Source§impl PartialEq for MainDeviceConfig
impl PartialEq for MainDeviceConfig
impl Copy for MainDeviceConfig
impl Eq for MainDeviceConfig
impl StructuralPartialEq for MainDeviceConfig
Auto Trait Implementations§
impl Freeze for MainDeviceConfig
impl RefUnwindSafe for MainDeviceConfig
impl Send for MainDeviceConfig
impl Sync for MainDeviceConfig
impl Unpin for MainDeviceConfig
impl UnwindSafe for MainDeviceConfig
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