pub struct MediumMismatch;Expand description
The interface’s medium can not do this.
Returned by Iface::set_hardware_addr when the address is of another
medium’s kind, and by the methods that turn on an address
autoconfiguration the medium does not support.
Trait Implementations§
Source§impl Clone for MediumMismatch
impl Clone for MediumMismatch
Source§fn clone(&self) -> MediumMismatch
fn clone(&self) -> MediumMismatch
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 MediumMismatch
Source§impl Debug for MediumMismatch
impl Debug for MediumMismatch
Source§impl Display for MediumMismatch
impl Display for MediumMismatch
impl Eq for MediumMismatch
Source§impl Error for MediumMismatch
impl Error for MediumMismatch
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 MediumMismatch
impl PartialEq for MediumMismatch
impl StructuralPartialEq for MediumMismatch
Auto Trait Implementations§
impl Freeze for MediumMismatch
impl RefUnwindSafe for MediumMismatch
impl Send for MediumMismatch
impl Sync for MediumMismatch
impl Unpin for MediumMismatch
impl UnsafeUnpin for MediumMismatch
impl UnwindSafe for MediumMismatch
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