Enum smoltcp::socket::Dhcpv4Event
source · [−]pub enum Dhcpv4Event {
Deconfigured,
Configured(Config),
}
Expand description
Return value for the Dhcpv4Socket::poll
function
Variants
Deconfigured
Configuration has been lost (for example, the lease has expired)
Configured(Config)
Configuration has been newly acquired, or modified.
Trait Implementations
impl Eq for Event
impl StructuralEq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more