pub struct FileValidationError {
pub actual_mac: [u8; 8],
pub expected_mac: [u8; 8],
}Expand description
An error that occurs when a file fails validation.
Fields§
§actual_mac: [u8; 8]The actual created mac
expected_mac: [u8; 8]The expected mac
Trait Implementations§
Source§impl Clone for FileValidationError
impl Clone for FileValidationError
Source§fn clone(&self) -> FileValidationError
fn clone(&self) -> FileValidationError
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 moreSource§impl Debug for FileValidationError
impl Debug for FileValidationError
Source§impl Display for FileValidationError
impl Display for FileValidationError
Source§impl Error for FileValidationError
impl Error for FileValidationError
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 FileValidationError
impl RefUnwindSafe for FileValidationError
impl Send for FileValidationError
impl Sync for FileValidationError
impl Unpin for FileValidationError
impl UnsafeUnpin for FileValidationError
impl UnwindSafe for FileValidationError
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