Struct ModemState
#[repr(transparent)]pub struct ModemState(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl ModemState
impl ModemState
pub const OUT_OF_SERVICE: Self
pub const OUT_OF_SERVICE: Self
Modem is out of service.
pub const IN_SERVICE: Self
pub const IN_SERVICE: Self
Modem is in service.
Trait Implementations§
§impl Clone for ModemState
impl Clone for ModemState
§fn clone(&self) -> ModemState
fn clone(&self) -> ModemState
Returns a duplicate 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 more§impl Debug for ModemState
impl Debug for ModemState
§impl PartialEq for ModemState
impl PartialEq for ModemState
§impl Serialize for ModemState
impl Serialize for ModemState
impl Copy for ModemState
impl Eq for ModemState
impl StructuralPartialEq for ModemState
Auto Trait Implementations§
impl Freeze for ModemState
impl RefUnwindSafe for ModemState
impl Send for ModemState
impl Sync for ModemState
impl Unpin for ModemState
impl UnwindSafe for ModemState
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