Enum tokio_modbus::Response [] [src]

pub enum Response {
    ReadCoils(Vec<bool>),
    ReadDiscreteInputs(Vec<bool>),
    WriteSingleCoil(u16),
    WriteMultipleCoils(u16u16),
    ReadInputRegisters(Vec<u16>),
    ReadHoldingRegisters(Vec<u16>),
    WriteSingleRegister(u16u16),
    WriteMultipleRegisters(u16u16),
    ReadWriteMultipleRegisters(Vec<u16>),
    Custom(u8Vec<u8>),
}

The data of a successfull request.

Variants

Trait Implementations

impl Debug for Response
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Response
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Response
[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 From<Response> for Bytes
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Response

impl Sync for Response