Struct resol_vbus::Telegram [] [src]

pub struct Telegram {
    pub header: Header,
    pub command: u8,
    pub frame_data: [u8; 21],
}

The Telegram type stores information according to the VBus protocol version 3.x.

Fields

The shared Header of all VBus protocol types.

The command of this Telegram.

The actual data from the frames attached to this Telegram.

Methods

impl Telegram
[src]

Get number of frames from a VBus protocol version 3.x command.

Get number of 7-byte frames attached to this Telegram.

Creates an ID string for this Telegram.

Trait Implementations

impl Debug for Telegram
[src]

Formats the value using the given formatter.

impl Clone for Telegram
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more