Struct nexus_revo_io::SymWriter[][src]

pub struct SymWriter<W: Write> { /* fields omitted */ }
Expand description

Bit-level symbol writer for generating messages in Revo RF protocol.

Implementations

Constructs new SymWriter wrapped around io::Write trait.

Example

let mut sym_writer = SymWriter::new(&mut cc1101_writer);

Sends a Revo message with requisite 150ms delay at end.

Example

sym_writer.write_msg(0x6969, NexusCmd::VibrateMode).expect("bad write_msg");

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

Performs the conversion.

Performs the conversion.

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.