Struct GetRuntimeSettings
pub struct GetRuntimeSettings {
pub requested: Option<RequestedSettings>,
}Expand description
Reads the settings of the data call of this client
(QMI_WDS_GET_RUNTIME_SETTINGS).
Send it after the call is connected. The settings contain the address, DNS servers, gateway and MTU that the client needs for the route and DNS.
Fields§
§requested: Option<RequestedSettings>Settings to return. The IDL says that without a mask, the modem returns the available settings of bits 0 to 12. The MTU, the IP family and the technology must then be requested.
Implementations§
§impl GetRuntimeSettings
impl GetRuntimeSettings
pub const IP_CONFIG: Self
pub const IP_CONFIG: Self
Asks for RequestedSettings::IP_CONFIG.
Trait Implementations§
§impl Clone for GetRuntimeSettings
impl Clone for GetRuntimeSettings
§fn clone(&self) -> GetRuntimeSettings
fn clone(&self) -> GetRuntimeSettings
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 GetRuntimeSettings
§impl Debug for GetRuntimeSettings
impl Debug for GetRuntimeSettings
§impl Default for GetRuntimeSettings
impl Default for GetRuntimeSettings
§fn default() -> GetRuntimeSettings
fn default() -> GetRuntimeSettings
Returns the “default value” for a type. Read more
impl Eq for GetRuntimeSettings
§impl PartialEq for GetRuntimeSettings
impl PartialEq for GetRuntimeSettings
§impl Request for GetRuntimeSettings
impl Request for GetRuntimeSettings
impl StructuralPartialEq for GetRuntimeSettings
Auto Trait Implementations§
impl Freeze for GetRuntimeSettings
impl RefUnwindSafe for GetRuntimeSettings
impl Send for GetRuntimeSettings
impl Sync for GetRuntimeSettings
impl Unpin for GetRuntimeSettings
impl UnsafeUnpin for GetRuntimeSettings
impl UnwindSafe for GetRuntimeSettings
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