Struct SetLteAttachPdnList
pub struct SetLteAttachPdnList<'a> {
profiles: Prefixed<u8, WideIndices<'a>>,
}Expand description
Sets the LTE attach PDN list (QMI_WDS_SET_LTE_ATTACH_PDN_LIST).
The list holds 3GPP profiles in order of decreasing priority.
Fields§
§profiles: Prefixed<u8, WideIndices<'a>>Implementations§
§impl<'a> SetLteAttachPdnList<'a>
impl<'a> SetLteAttachPdnList<'a>
pub fn new(profiles: &'a [ProfileIndex]) -> Result<Self, Error>
pub fn new(profiles: &'a [ProfileIndex]) -> Result<Self, Error>
Creates the request.
§Errors
Returns Error::TooManyProfiles if there are more than Self::MAX
profiles.
pub const fn as_slice(&self) -> &'a [ProfileIndex]
pub const fn as_slice(&self) -> &'a [ProfileIndex]
Returns the profiles.
Trait Implementations§
§impl<'a> Clone for SetLteAttachPdnList<'a>
impl<'a> Clone for SetLteAttachPdnList<'a>
§fn clone(&self) -> SetLteAttachPdnList<'a>
fn clone(&self) -> SetLteAttachPdnList<'a>
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<'a> Copy for SetLteAttachPdnList<'a>
§impl<'a> Debug for SetLteAttachPdnList<'a>
impl<'a> Debug for SetLteAttachPdnList<'a>
impl<'a> Eq for SetLteAttachPdnList<'a>
§impl<'a> PartialEq for SetLteAttachPdnList<'a>
impl<'a> PartialEq for SetLteAttachPdnList<'a>
§impl Request for SetLteAttachPdnList<'_>
impl Request for SetLteAttachPdnList<'_>
impl<'a> StructuralPartialEq for SetLteAttachPdnList<'a>
Auto Trait Implementations§
impl<'a> Freeze for SetLteAttachPdnList<'a>
impl<'a> RefUnwindSafe for SetLteAttachPdnList<'a>
impl<'a> Send for SetLteAttachPdnList<'a>
impl<'a> Sync for SetLteAttachPdnList<'a>
impl<'a> Unpin for SetLteAttachPdnList<'a>
impl<'a> UnsafeUnpin for SetLteAttachPdnList<'a>
impl<'a> UnwindSafe for SetLteAttachPdnList<'a>
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