pub struct Config<'a> {
pub apn: &'a [u8],
pub auth_prot: AuthProt,
pub auth: Option<(&'a [u8], &'a [u8])>,
pub pin: Option<&'a [u8]>,
}Expand description
Configuration for a given context
Fields§
§apn: &'a [u8]Desired APN address.
auth_prot: AuthProtDesired authentication protocol.
auth: Option<(&'a [u8], &'a [u8])>Credentials.
pin: Option<&'a [u8]>SIM pin
Auto Trait Implementations§
impl<'a> Freeze for Config<'a>
impl<'a> RefUnwindSafe for Config<'a>
impl<'a> Send for Config<'a>
impl<'a> Sync for Config<'a>
impl<'a> Unpin for Config<'a>
impl<'a> UnwindSafe for Config<'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