pub struct OutputVerifier { /* private fields */ }Expand description
Verifies that an output file satisfies a list of constraints.
Implementations§
Source§impl OutputVerifier
impl OutputVerifier
Sourcepub fn add_constraint(&mut self, constraint: OutputConstraint)
pub fn add_constraint(&mut self, constraint: OutputConstraint)
Add a constraint to be checked.
Sourcepub fn check_file(&self, info: &OutputFileInfo) -> OutputVerifyReport
pub fn check_file(&self, info: &OutputFileInfo) -> OutputVerifyReport
Check a simulated file (represented by OutputFileInfo) against all constraints.
Trait Implementations§
Source§impl Debug for OutputVerifier
impl Debug for OutputVerifier
Source§impl Default for OutputVerifier
impl Default for OutputVerifier
Source§fn default() -> OutputVerifier
fn default() -> OutputVerifier
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OutputVerifier
impl RefUnwindSafe for OutputVerifier
impl Send for OutputVerifier
impl Sync for OutputVerifier
impl Unpin for OutputVerifier
impl UnsafeUnpin for OutputVerifier
impl UnwindSafe for OutputVerifier
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more