pub struct Status {
pub attached: bool,
pub ip: Option<IpAddr>,
pub gateway: Option<IpAddr>,
pub dns: Vec<IpAddr, 2>,
}Expand description
Status of a given context.
Fields§
§attached: boolAttached to APN or not.
ip: Option<IpAddr>IP if assigned.
gateway: Option<IpAddr>Gateway if assigned.
dns: Vec<IpAddr, 2>DNS servers if assigned.
Trait Implementations§
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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