pub struct Config {
pub baudrate: Option<u32>,
pub data_bits: Option<DataBits>,
pub stop_bits: Option<StopBits>,
pub parity: Option<Parity>,
}Fields§
§baudrate: Option<u32>§data_bits: Option<DataBits>§stop_bits: Option<StopBits>§parity: Option<Parity>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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