pub struct SerialPortIo(pub Arc<Mutex<Box<dyn SerialPort>>>);Tuple Fields§
§0: Arc<Mutex<Box<dyn SerialPort>>>Trait Implementations§
Auto Trait Implementations§
impl Forget for SerialPortIo
impl Freeze for SerialPortIo
impl RefUnwindSafe for SerialPortIo
impl Send for SerialPortIo
impl Sync for SerialPortIo
impl Unpin for SerialPortIo
impl UnsafeUnpin for SerialPortIo
impl UnwindSafe for SerialPortIo
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