pub struct Uart<'a> { /* private fields */ }

Implementations

Transmits an object to AVR.

See: UartSend.

See also: Self::send_byte().

Transmits a byte to AVR.

Note that you don’t have to worry about AVR’s UART’s buffer limits - if transmitting this byte would overflow that buffer, AvrTester will automatically re-schedule it to be sent at the nearest opportunity.

See also: Self::send().

Retrieves an object from AVR.

See: UartRecv.

See also: Self::recv_byte().

Retrieves a byte from AVR.

Returns None if there are no more bytes in the buffer, in which case no more bytes will appear at least until the next AvrTester::run().

See also: Self::recv().

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.