pub struct Validator { /* private fields */ }Implementations§
Source§impl Validator
impl Validator
pub fn new(root: impl Into<PathBuf>, policy_dir: impl Into<PathBuf>) -> Self
pub fn validate_after_fix( &self, original: &ScanReport, fixes_applied: usize, ) -> Result<ValidationReport, ValidateError>
Auto Trait Implementations§
impl Freeze for Validator
impl RefUnwindSafe for Validator
impl Send for Validator
impl Sync for Validator
impl Unpin for Validator
impl UnsafeUnpin for Validator
impl UnwindSafe for Validator
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