Struct pn532::serialport::SerialPortInterface
source · pub struct SerialPortInterface {
pub port: Box<dyn SerialPort>,
}
Available on crate feature
std
only.Expand description
SerialPort Interface without IRQ pin
Fields§
§port: Box<dyn SerialPort>
Implementations§
source§impl SerialPortInterface
impl SerialPortInterface
sourcepub fn send_wakeup_message(&mut self) -> Result<(), Error>
pub fn send_wakeup_message(&mut self) -> Result<(), Error>
Wake the interface after a power down
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SerialPortInterface
impl !RefUnwindSafe for SerialPortInterface
impl Send for SerialPortInterface
impl !Sync for SerialPortInterface
impl Unpin for SerialPortInterface
impl !UnwindSafe for SerialPortInterface
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more