pub enum FrameInterval {
Bits(f64),
Ms(u32),
}Expand description
Inter-frame timing for RTU. Mirrors njs-modbus
intervalBetweenFrames?: { unit: 'bit' | 'ms'; value: number }.
Variants§
Trait Implementations§
Source§impl Clone for FrameInterval
impl Clone for FrameInterval
Source§fn clone(&self) -> FrameInterval
fn clone(&self) -> FrameInterval
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 FrameInterval
impl Debug for FrameInterval
impl Copy for FrameInterval
Auto Trait Implementations§
impl Freeze for FrameInterval
impl RefUnwindSafe for FrameInterval
impl Send for FrameInterval
impl Sync for FrameInterval
impl Unpin for FrameInterval
impl UnsafeUnpin for FrameInterval
impl UnwindSafe for FrameInterval
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