Struct teensy4_bsp::usb::Reader[][src]

pub struct Reader(_);
This is supported on crate feature usb-logging only.
Expand description

A type that can read USB serial messages from a host

Implementations

Read from the USB serial endpoint into buffer. Returns the number of bytes read, or zero if there is no data.

Trait Implementations

OK to transfer across ‘thread’ boundaries, but not safe for multi-threaded access (Sync).

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.

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.