Struct pn532::serialport::SerialPortInterface[][src]

pub struct SerialPortInterface {
    pub port: Box<dyn SerialPort>,
}
This is supported on crate feature std only.
Expand description

SerialPort Interface without IRQ pin

Fields

port: Box<dyn SerialPort>

Implementations

Wake the interface after a power down

Trait Implementations

Error specific to the serial link.

Writes a frame to the Pn532

Checks if the Pn532 has data to be read. Uses either the serial link or the IRQ pin. Read more

Reads data from the Pn532 into buf. This method will only be called if wait_ready returned Poll::Ready(Ok(())) before. 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

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.