Enum DhcpServerLeaseState
pub enum DhcpServerLeaseState {
Offered,
Bound,
Released,
Declined,
}Expand description
The state of one [DhcpServerLease].
Variants§
Offered
The address was offered and the client has not requested it yet.
Bound
The client holds the address.
Released
The client released the address, or chose another server. Kept as a record so a returning client gets the same address.
Declined
The client reported the address as in use by someone else. The address is kept out of the pool until the hold expires.
Trait Implementations§
§impl Clone for DhcpServerLeaseState
impl Clone for DhcpServerLeaseState
§fn clone(&self) -> DhcpServerLeaseState
fn clone(&self) -> DhcpServerLeaseState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DhcpServerLeaseState
§impl Debug for DhcpServerLeaseState
impl Debug for DhcpServerLeaseState
impl Eq for DhcpServerLeaseState
§impl Format for DhcpServerLeaseState
impl Format for DhcpServerLeaseState
§impl PartialEq for DhcpServerLeaseState
impl PartialEq for DhcpServerLeaseState
impl StructuralPartialEq for DhcpServerLeaseState
Auto Trait Implementations§
impl Freeze for DhcpServerLeaseState
impl RefUnwindSafe for DhcpServerLeaseState
impl Send for DhcpServerLeaseState
impl Sync for DhcpServerLeaseState
impl Unpin for DhcpServerLeaseState
impl UnsafeUnpin for DhcpServerLeaseState
impl UnwindSafe for DhcpServerLeaseState
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