Struct MediumMismatch
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§
§impl Clone for MediumMismatch
impl Clone for MediumMismatch
§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
§impl Debug for MediumMismatch
impl Debug for MediumMismatch
§impl Display for MediumMismatch
impl Display for MediumMismatch
impl Eq for MediumMismatch
§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()
§impl Format for MediumMismatch
impl Format for MediumMismatch
§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