pub struct ModemStatusParams {
pub dlci: DLCI,
pub signals: ModemStatusSignals,
pub break_value: Option<u8>,
}
Expand description
Modem Status Command is used to convey V .24 control signals to the DLC. Defined in GSM 7.10 Section 6.4.6.3.7.
Fields§
§dlci: DLCI
§signals: ModemStatusSignals
§break_value: Option<u8>
Implementations§
Trait Implementations§
Source§impl Clone for ModemStatusParams
impl Clone for ModemStatusParams
Source§fn clone(&self) -> ModemStatusParams
fn clone(&self) -> ModemStatusParams
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 Debug for ModemStatusParams
impl Debug for ModemStatusParams
Source§impl Decodable for ModemStatusParams
impl Decodable for ModemStatusParams
type Error = FrameParseError
Source§impl Encodable for ModemStatusParams
impl Encodable for ModemStatusParams
type Error = FrameParseError
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the number of bytes necessary to encode |self|.
Source§impl PartialEq for ModemStatusParams
impl PartialEq for ModemStatusParams
impl StructuralPartialEq for ModemStatusParams
Auto Trait Implementations§
impl Freeze for ModemStatusParams
impl RefUnwindSafe for ModemStatusParams
impl Send for ModemStatusParams
impl Sync for ModemStatusParams
impl Unpin for ModemStatusParams
impl UnwindSafe for ModemStatusParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)