pub struct SerialConnectable { /* private fields */ }
Implementations§
Source§impl SerialConnectable
impl SerialConnectable
pub fn new(port_name: String, baud_rate: usize) -> SerialConnectable
Trait Implementations§
Source§impl AsyncConnectable for SerialConnectable
impl AsyncConnectable for SerialConnectable
Source§impl Clone for SerialConnectable
impl Clone for SerialConnectable
Source§fn clone(&self) -> SerialConnectable
fn clone(&self) -> SerialConnectable
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Connectable for SerialConnectable
impl Connectable for SerialConnectable
Source§impl Debug for SerialConnectable
impl Debug for SerialConnectable
Auto Trait Implementations§
impl Freeze for SerialConnectable
impl RefUnwindSafe for SerialConnectable
impl Send for SerialConnectable
impl Sync for SerialConnectable
impl Unpin for SerialConnectable
impl UnwindSafe for SerialConnectable
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