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

Trait Implementations

impl Debug for Timeout
[src]

[src]

Formats the value using the given formatter.

impl Clone for Timeout
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Timeout
[src]

impl PartialEq for Timeout
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Timeout
[src]