Struct PacketServiceStatusIndication
#[non_exhaustive]pub struct PacketServiceStatusIndication {
pub connection_status: ConnectionStatus,
pub reconfiguration_required: bool,
pub call_end: CallEnd,
pub ip_family: Option<IpFamily>,
pub technology: Option<TechnologyName>,
}Expand description
An indication of the packet service status (QMI_WDS_PKT_SRVC_STATUS_IND).
Receive it with Client::events. The modem sends
it when the connection of a call changes.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.connection_status: ConnectionStatusConnection state.
reconfiguration_required: boolWhether the client must read the settings of the call again.
call_end: CallEndWhy the call ended. Only set when the call is disconnected.
ip_family: Option<IpFamily>IP family of the call.
technology: Option<TechnologyName>Technology of the call.
Trait Implementations§
§impl Clone for PacketServiceStatusIndication
impl Clone for PacketServiceStatusIndication
§fn clone(&self) -> PacketServiceStatusIndication
fn clone(&self) -> PacketServiceStatusIndication
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PacketServiceStatusIndication
§impl Debug for PacketServiceStatusIndication
impl Debug for PacketServiceStatusIndication
impl Eq for PacketServiceStatusIndication
§impl Indication for PacketServiceStatusIndication
impl Indication for PacketServiceStatusIndication
§impl PartialEq for PacketServiceStatusIndication
impl PartialEq for PacketServiceStatusIndication
impl StructuralPartialEq for PacketServiceStatusIndication
§impl TryFrom<&Message> for PacketServiceStatusIndication
impl TryFrom<&Message> for PacketServiceStatusIndication
§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
§fn try_from(message: &Message) -> Result<Self, DecodeError>
fn try_from(message: &Message) -> Result<Self, DecodeError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PacketServiceStatusIndication
impl RefUnwindSafe for PacketServiceStatusIndication
impl Send for PacketServiceStatusIndication
impl Sync for PacketServiceStatusIndication
impl Unpin for PacketServiceStatusIndication
impl UnsafeUnpin for PacketServiceStatusIndication
impl UnwindSafe for PacketServiceStatusIndication
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