pub struct IOTaskConfig {
pub tx_enabled: bool,
pub rx_enabled: bool,
}Expand description
Controls whether TX and RX tasks are active for a node.
Defaults to both TX and RX enabled.
Fields§
§tx_enabled: boolEnable transmit-side task work for the selected operation mode.
rx_enabled: boolEnable receive/process-side task work for the selected operation mode.
Implementations§
Trait Implementations§
Source§impl Clone for IOTaskConfig
impl Clone for IOTaskConfig
Source§fn clone(&self) -> IOTaskConfig
fn clone(&self) -> IOTaskConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IOTaskConfig
impl Debug for IOTaskConfig
Source§impl Default for IOTaskConfig
impl Default for IOTaskConfig
Source§impl PartialEq for IOTaskConfig
impl PartialEq for IOTaskConfig
Source§fn eq(&self, other: &IOTaskConfig) -> bool
fn eq(&self, other: &IOTaskConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for IOTaskConfig
impl Eq for IOTaskConfig
impl StructuralPartialEq for IOTaskConfig
Auto Trait Implementations§
impl Freeze for IOTaskConfig
impl RefUnwindSafe for IOTaskConfig
impl Send for IOTaskConfig
impl Sync for IOTaskConfig
impl Unpin for IOTaskConfig
impl UnsafeUnpin for IOTaskConfig
impl UnwindSafe for IOTaskConfig
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