Struct czkawka_core::broken_files::BrokenFiles
source · pub struct BrokenFiles { /* private fields */ }
Implementations§
source§impl BrokenFiles
impl BrokenFiles
pub fn new() -> Self
pub fn find_broken_files( &mut self, stop_receiver: Option<&Receiver<()>>, progress_sender: Option<&Sender<ProgressData>> )
source§impl BrokenFiles
impl BrokenFiles
pub const fn get_broken_files(&self) -> &Vec<BrokenEntry>
pub fn set_checked_types(&mut self, checked_types: CheckedTypes)
pub const fn get_information(&self) -> &Info
Trait Implementations§
source§impl CommonData for BrokenFiles
impl CommonData for BrokenFiles
fn get_cd(&self) -> &CommonToolData
fn get_cd_mut(&mut self) -> &mut CommonToolData
fn set_dry_run(&mut self, dry_run: bool)
fn get_dry_run(&self) -> bool
fn set_use_cache(&mut self, use_cache: bool)
fn get_use_cache(&self) -> bool
fn set_delete_outdated_cache(&mut self, delete_outdated_cache: bool)
fn get_delete_outdated_cache(&self) -> bool
fn get_stopped_search(&self) -> bool
fn set_stopped_search(&mut self, stopped_search: bool)
fn set_maximal_file_size(&mut self, maximal_file_size: u64)
fn get_maximal_file_size(&self) -> u64
fn set_minimal_file_size(&mut self, minimal_file_size: u64)
fn get_minimal_file_size(&self) -> u64
fn set_reference_directory(&mut self, reference_directory: Vec<PathBuf>)
fn set_exclude_other_filesystems(&mut self, exclude_other_filesystems: bool)
fn get_text_messages(&self) -> &Messages
fn get_text_messages_mut(&mut self) -> &mut Messages
fn set_save_also_as_json(&mut self, save_also_as_json: bool)
fn get_save_also_as_json(&self) -> bool
fn set_recursive_search(&mut self, recursive_search: bool)
fn get_recursive_search(&self) -> bool
fn set_use_reference_folders(&mut self, use_reference_folders: bool)
fn get_use_reference_folders(&self) -> bool
fn set_delete_method(&mut self, delete_method: DeleteMethod)
fn get_delete_method(&self) -> DeleteMethod
fn set_included_directory(&mut self, included_directory: Vec<PathBuf>)
fn set_excluded_directory(&mut self, excluded_directory: Vec<PathBuf>)
fn set_allowed_extensions(&mut self, allowed_extensions: String)
fn set_excluded_extensions(&mut self, excluded_extensions: String)
fn set_excluded_items(&mut self, excluded_items: Vec<String>)
fn prepare_items(&mut self)
fn debug_print_common(&self)
source§impl DebugPrint for BrokenFiles
impl DebugPrint for BrokenFiles
fn debug_print(&self)
source§impl Default for BrokenFiles
impl Default for BrokenFiles
source§impl PrintResults for BrokenFiles
impl PrintResults for BrokenFiles
fn write_results<T: Write>(&self, writer: &mut T) -> Result<()>
fn save_results_to_file_as_json( &self, file_name: &str, pretty_print: bool ) -> Result<()>
fn print_results_to_output(&self)
fn print_results_to_file(&self, file_name: &str) -> Result<()>
fn save_results_to_file_as_json_internal<T: Serialize + Debug>( &self, file_name: &str, item_to_serialize: &T, pretty_print: bool ) -> Result<()>
fn save_results_to_file_as_json_pretty<T: Serialize + Debug>( &self, file_name: &str, item_to_serialize: &T ) -> Result<()>
fn save_results_to_file_as_json_compact<T: Serialize + Debug>( &self, file_name: &str, item_to_serialize: &T ) -> Result<()>
fn save_all_in_one(&self, file_name: &str) -> Result<()>
Auto Trait Implementations§
impl RefUnwindSafe for BrokenFiles
impl Send for BrokenFiles
impl Sync for BrokenFiles
impl Unpin for BrokenFiles
impl UnwindSafe for BrokenFiles
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
§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.