Struct StationRouter
#[repr(transparent)]pub struct StationRouter(StationRouter);Expand description
Router information.
Tuple Fields§
§0: StationRouterImplementations§
§impl StationRouter
impl StationRouter
const fn from_sys_ref(station_router: &StationRouter) -> &Self
pub fn primary_dns(&self) -> Ipv4Addr
pub fn primary_dns(&self) -> Ipv4Addr
Returns the primary DNS server IP address.
pub fn secondary_dns(&self) -> Ipv4Addr
pub fn secondary_dns(&self) -> Ipv4Addr
Returns the secondary DNS server IP address.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StationRouter
impl RefUnwindSafe for StationRouter
impl Send for StationRouter
impl Sync for StationRouter
impl Unpin for StationRouter
impl UnwindSafe for StationRouter
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