pub struct TransmitConfig {
pub loop_count: Loop,
pub eot_level: bool,
pub queue_non_blocking: bool,
/* private fields */
}Fields§
§loop_count: LoopSpecify the times of transmission in a loop, -1 means transmitting in an infinite loop
eot_level: boolSet the output level for the “End Of Transmission”
queue_non_blocking: boolIf set, when the transaction queue is full, driver will not block the thread but return directly.
Trait Implementations§
Source§impl Clone for TransmitConfig
impl Clone for TransmitConfig
Source§fn clone(&self) -> TransmitConfig
fn clone(&self) -> TransmitConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransmitConfig
impl Debug for TransmitConfig
Auto Trait Implementations§
impl Freeze for TransmitConfig
impl RefUnwindSafe for TransmitConfig
impl Send for TransmitConfig
impl Sync for TransmitConfig
impl Unpin for TransmitConfig
impl UnsafeUnpin for TransmitConfig
impl UnwindSafe for TransmitConfig
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)