pub struct ScanProgress { /* private fields */ }Implementations§
Source§impl ScanProgress
impl ScanProgress
pub fn new(mode: ProgressMode) -> Self
pub fn set_processes(&self, processes: usize)
pub fn set_scan_names(&self, scan_names: String)
pub fn init_logging_bridge(&self)
pub fn start_discovery(&self)
pub fn finish_discovery( &self, files: usize, dirs: usize, size: u64, excluded: usize, )
pub fn start_spdx_load(&self)
pub fn finish_spdx_load(&self)
pub fn start_scan(&self, total_files: usize)
pub fn file_completed(&self, path: &Path, bytes: u64, scan_errors: &[String])
pub fn record_runtime_error(&self, path: &Path, err: &str)
pub fn finish_scan(&self)
pub fn start_assembly(&self)
pub fn finish_assembly(&self, packages_assembled: usize, manifests_seen: usize)
pub fn start_output(&self)
pub fn output_written(&self, text: &str)
pub fn finish_output(&self)
pub fn record_final_counts(&self, files: &[FileInfo])
pub fn display_summary(&self, scan_start: &str, scan_end: &str)
Auto Trait Implementations§
impl !Freeze for ScanProgress
impl RefUnwindSafe for ScanProgress
impl Send for ScanProgress
impl Sync for ScanProgress
impl Unpin for ScanProgress
impl UnsafeUnpin for ScanProgress
impl UnwindSafe for ScanProgress
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