Struct serial2::KeepSettings
source · [−]pub struct KeepSettings;
Expand description
A serial port “configuration” that simply keeps all existing settings.
You can pass this to SerialPort::open()
to prevent it from changing any port settings.
Note: many platforms reset the configuration of a serial port when it is no longer in use. You should normally explicitly configure the settings that you care about.
Trait Implementations
sourceimpl IntoSettings for KeepSettings
impl IntoSettings for KeepSettings
Auto Trait Implementations
impl RefUnwindSafe for KeepSettings
impl Send for KeepSettings
impl Sync for KeepSettings
impl Unpin for KeepSettings
impl UnwindSafe for KeepSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more