Enum ur20::ChannelValue[][src]

pub enum ChannelValue {
    Bit(bool),
    Decimal32(f32),
    ComRsIn(RsIn),
    ComRsOut(RsOut),
    Bytes(Vec<u8>),
    Disabled,
    None,
}

Data type used by the module channels.

Variants

A single bit (0 == false)

A 32-Bit float value.

Special input data used by 1COM-232-485-422

Special output data used by 1COM-232-485-422

Raw binary data.

The channel is currently disabled.

The channel has no data at all.

Trait Implementations

impl Debug for ChannelValue
[src]

Formats the value using the given formatter. Read more

impl Clone for ChannelValue
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ChannelValue
[src]

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

This method tests for !=.

Auto Trait Implementations