Struct libmodbus_rs::Timeout
[−]
[src]
pub struct Timeout {
pub sec: u32,
pub usec: u32,
}Timeout struct
- The value of usec argument must be in the range 0 to 999999.
Fields
sec: u32
usec: u32
Trait Implementations
impl Debug for Timeout[src]
impl Clone for Timeout[src]
fn clone(&self) -> Timeout[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for Timeout[src]
impl PartialEq for Timeout[src]
fn eq(&self, __arg_0: &Timeout) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Timeout) -> bool[src]
This method tests for !=.