Enum modbus::Coil [] [src]

pub enum Coil {
    On,
    Off,
}

Single bit status values, used in read or write coil functions

Variants

Trait Implementations

impl Debug for Coil
[src]

Formats the value using the given formatter.

impl Clone for Coil
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Coil
[src]

impl PartialEq for Coil
[src]

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

This method tests for !=.

impl FromStr for Coil
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more