pub struct DhcpLease {
pub ip: [u8; 4],
pub gateway: [u8; 4],
pub dns: [u8; 4],
pub dns2: [u8; 4],
pub server: [u8; 4],
pub subnet: [u8; 4],
pub lease_secs: u32,
pub t1_secs: u32,
pub t2_secs: u32,
}Fields§
§ip: [u8; 4]§gateway: [u8; 4]§dns: [u8; 4]§dns2: [u8; 4]§server: [u8; 4]§subnet: [u8; 4]§lease_secs: u32§t1_secs: u32§t2_secs: u32Auto Trait Implementations§
impl Freeze for DhcpLease
impl RefUnwindSafe for DhcpLease
impl Send for DhcpLease
impl Sync for DhcpLease
impl Unpin for DhcpLease
impl UnsafeUnpin for DhcpLease
impl UnwindSafe for DhcpLease
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