pub struct CleanReport {
pub removed: Vec<Candidate>,
pub quarantined: Vec<QuarantineEntry>,
pub failures: Vec<String>,
pub removed_bytes: u64,
pub quarantined_bytes: u64,
}Expand description
Outcome of deleting a validated scan report.
Fields§
§removed: Vec<Candidate>Candidates removed successfully.
quarantined: Vec<QuarantineEntry>Candidates moved into persistent safety holds instead of being deleted.
failures: Vec<String>Candidate-specific failures. Cleanup continues after a failure.
removed_bytes: u64Scan-time allocated bytes represented by successful removals.
quarantined_bytes: u64Bytes retained on disk until their safety holds are purged.
Trait Implementations§
Source§impl Debug for CleanReport
impl Debug for CleanReport
Auto Trait Implementations§
impl Freeze for CleanReport
impl RefUnwindSafe for CleanReport
impl Send for CleanReport
impl Sync for CleanReport
impl Unpin for CleanReport
impl UnsafeUnpin for CleanReport
impl UnwindSafe for CleanReport
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> 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