pub struct BytesValidator {
pub output_file: Option<&'static str>,
pub expected_digests: Vec<ExpectedDigest>,
}
Expand description
Validates that an output’s data exactly matches an expected hash, including oob_bytes
Fields§
§output_file: Option<&'static str>
§expected_digests: Vec<ExpectedDigest>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BytesValidator
impl RefUnwindSafe for BytesValidator
impl Send for BytesValidator
impl Sync for BytesValidator
impl Unpin for BytesValidator
impl UnwindSafe for BytesValidator
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