#[repr(transparent)]pub struct Dhcp4State(pub i32);
Tuple Fields§
§0: i32
Implementations§
source§impl Dhcp4State
impl Dhcp4State
pub const STOPPED: Dhcp4State = _
pub const INIT: Dhcp4State = _
pub const SELECTING: Dhcp4State = _
pub const REQUESTING: Dhcp4State = _
pub const BOUND: Dhcp4State = _
pub const RENEWING: Dhcp4State = _
pub const REBINDING: Dhcp4State = _
pub const INIT_REBOOT: Dhcp4State = _
pub const REBOOTING: Dhcp4State = _
Trait Implementations§
source§impl Clone for Dhcp4State
impl Clone for Dhcp4State
source§fn clone(&self) -> Dhcp4State
fn clone(&self) -> Dhcp4State
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Dhcp4State
impl Debug for Dhcp4State
source§impl Hash for Dhcp4State
impl Hash for Dhcp4State
source§impl Ord for Dhcp4State
impl Ord for Dhcp4State
source§fn cmp(&self, other: &Dhcp4State) -> Ordering
fn cmp(&self, other: &Dhcp4State) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for Dhcp4State
impl PartialEq for Dhcp4State
source§impl PartialOrd for Dhcp4State
impl PartialOrd for Dhcp4State
impl Copy for Dhcp4State
impl Eq for Dhcp4State
impl StructuralPartialEq for Dhcp4State
Auto Trait Implementations§
impl Freeze for Dhcp4State
impl RefUnwindSafe for Dhcp4State
impl Send for Dhcp4State
impl Sync for Dhcp4State
impl Unpin for Dhcp4State
impl UnwindSafe for Dhcp4State
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)