[][src]Trait aimc_comms::Tx

pub trait Tx {
    fn send(&mut self, data: &[u8]);
}

The transmitting end of a Serial Connection.

Required methods

fn send(&mut self, data: &[u8])

Queue a Packet to be sent to the frontend.

There is no guarantee that the data will all be sent. This may happen if the receiver isn't listening or they aren't able to receive at this time.

Loading content...

Implementations on Foreign Types

impl<'a, T: Tx> Tx for &'a mut T[src]

Loading content...

Implementors

Loading content...