pub enum HardwareBindingError {
MacAddressMismatch {
expected: Vec<String>,
found: Vec<String>,
},
HostnameMismatch {
expected: Vec<String>,
found: String,
},
DiskIdMismatch {
expected: Vec<String>,
found: Vec<String>,
},
CustomMismatch {
key: String,
expected: Vec<String>,
found: String,
},
}Expand description
Hardware binding verification errors
Variants§
Trait Implementations§
Source§impl Clone for HardwareBindingError
impl Clone for HardwareBindingError
Source§fn clone(&self) -> HardwareBindingError
fn clone(&self) -> HardwareBindingError
Returns a duplicate 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 HardwareBindingError
impl Debug for HardwareBindingError
Source§impl Display for HardwareBindingError
impl Display for HardwareBindingError
Source§impl Error for HardwareBindingError
impl Error for HardwareBindingError
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()
Auto Trait Implementations§
impl Freeze for HardwareBindingError
impl RefUnwindSafe for HardwareBindingError
impl Send for HardwareBindingError
impl Sync for HardwareBindingError
impl Unpin for HardwareBindingError
impl UnsafeUnpin for HardwareBindingError
impl UnwindSafe for HardwareBindingError
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