pub enum DhcpServerError {
MediumMismatch,
InvalidPool,
}Expand description
Error returned by Iface::set_dhcpv4_server.
Variants§
MediumMismatch
The interface is not an Ethernet interface.
InvalidPool
The pool ends before it starts: pool_end is below pool_start.
Trait Implementations§
Source§impl Clone for DhcpServerError
impl Clone for DhcpServerError
Source§fn clone(&self) -> DhcpServerError
fn clone(&self) -> DhcpServerError
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 DhcpServerError
Source§impl Debug for DhcpServerError
impl Debug for DhcpServerError
Source§impl Display for DhcpServerError
impl Display for DhcpServerError
impl Eq for DhcpServerError
Source§impl Error for DhcpServerError
impl Error for DhcpServerError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for DhcpServerError
impl PartialEq for DhcpServerError
impl StructuralPartialEq for DhcpServerError
Auto Trait Implementations§
impl Freeze for DhcpServerError
impl RefUnwindSafe for DhcpServerError
impl Send for DhcpServerError
impl Sync for DhcpServerError
impl Unpin for DhcpServerError
impl UnsafeUnpin for DhcpServerError
impl UnwindSafe for DhcpServerError
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