pub struct Serial<T>where
    T: Read + Write,
{ /* private fields */ }
Expand description

An update service based on a fixed-frame serial protocol, using postcard as the serialization format. Can be used with any transport implementing the embedded-io traits. (TCP, UDP, UART, USB).

Implementations

Create an instance of a Serial update service over the provided transport.

Trait Implementations

Error type
Future returned by send
Send the status to the server, and return the Command responded by the service rx buffer. 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.

Should always be Self
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.