Struct LteAttachPdnList
pub struct LteAttachPdnList {
current: Items<WideIndex>,
pending: Items<WideIndex>,
}Expand description
Profiles for the LTE attach.
Returned by GetLteAttachPdnList. The lists hold 3GPP profiles in order
of decreasing priority. A list is empty if the modem returns none. A profile
index of 0 or above 255 fails the whole response.
Fields§
§current: Items<WideIndex>§pending: Items<WideIndex>Implementations§
§impl LteAttachPdnList
impl LteAttachPdnList
pub fn current(
&self,
) -> impl ExactSizeIterator<Item = ProfileIndex> + Clone + use<>
pub fn current( &self, ) -> impl ExactSizeIterator<Item = ProfileIndex> + Clone + use<>
Returns the profiles that the modem uses now.
pub fn pending(
&self,
) -> impl ExactSizeIterator<Item = ProfileIndex> + Clone + use<>
pub fn pending( &self, ) -> impl ExactSizeIterator<Item = ProfileIndex> + Clone + use<>
Returns the profiles for the next LTE attach.
Trait Implementations§
§impl Clone for LteAttachPdnList
impl Clone for LteAttachPdnList
§fn clone(&self) -> LteAttachPdnList
fn clone(&self) -> LteAttachPdnList
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 more§impl Debug for LteAttachPdnList
impl Debug for LteAttachPdnList
§impl Default for LteAttachPdnList
impl Default for LteAttachPdnList
§fn default() -> LteAttachPdnList
fn default() -> LteAttachPdnList
Returns the “default value” for a type. Read more
impl Eq for LteAttachPdnList
§impl PartialEq for LteAttachPdnList
impl PartialEq for LteAttachPdnList
impl StructuralPartialEq for LteAttachPdnList
§impl TryFrom<&Message> for LteAttachPdnList
impl TryFrom<&Message> for LteAttachPdnList
§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 LteAttachPdnList
impl RefUnwindSafe for LteAttachPdnList
impl Send for LteAttachPdnList
impl Sync for LteAttachPdnList
impl Unpin for LteAttachPdnList
impl UnsafeUnpin for LteAttachPdnList
impl UnwindSafe for LteAttachPdnList
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