#[repr(C)]
pub struct DiseqcMasterCmd { pub msg: [u8; 6], pub len: u8, }
Expand description

DiSEqC master command Check out the DiSEqC bus spec available on http://www.eutelsat.org/ for the possible messages that can be used.

Fields

msg: [u8; 6]

DiSEqC message to be sent. It contains a 3 bytes header with: framing + address + command, and an optional argument of up to 3 bytes of data.

len: u8

Length of the DiSEqC message. Valid values are 3 to 6.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.