pub struct BadExtensions { /* private fields */ }

Implementations§

source§

impl BadExtensions

source

pub fn new() -> Self

source

pub fn find_bad_extensions_files( &mut self, stop_receiver: Option<&Receiver<()>>, progress_sender: Option<&Sender<ProgressData>> )

source§

impl BadExtensions

source

pub const fn get_bad_extensions_files(&self) -> &Vec<BadFileEntry>

source

pub const fn get_information(&self) -> &Info

Trait Implementations§

source§

impl CommonData for BadExtensions

source§

fn get_cd(&self) -> &CommonToolData

source§

fn get_cd_mut(&mut self) -> &mut CommonToolData

source§

fn set_dry_run(&mut self, dry_run: bool)

source§

fn get_dry_run(&self) -> bool

source§

fn set_use_cache(&mut self, use_cache: bool)

source§

fn get_use_cache(&self) -> bool

source§

fn set_delete_outdated_cache(&mut self, delete_outdated_cache: bool)

source§

fn get_delete_outdated_cache(&self) -> bool

source§

fn set_maximal_file_size(&mut self, maximal_file_size: u64)

source§

fn get_maximal_file_size(&self) -> u64

source§

fn set_minimal_file_size(&mut self, minimal_file_size: u64)

source§

fn get_minimal_file_size(&self) -> u64

source§

fn set_reference_directory(&mut self, reference_directory: Vec<PathBuf>)

source§

fn set_exclude_other_filesystems(&mut self, exclude_other_filesystems: bool)

source§

fn get_text_messages(&self) -> &Messages

source§

fn get_text_messages_mut(&mut self) -> &mut Messages

source§

fn set_save_also_as_json(&mut self, save_also_as_json: bool)

source§

fn get_save_also_as_json(&self) -> bool

source§

fn set_use_reference_folders(&mut self, use_reference_folders: bool)

source§

fn get_use_reference_folders(&self) -> bool

source§

fn set_delete_method(&mut self, delete_method: DeleteMethod)

source§

fn get_delete_method(&self) -> DeleteMethod

source§

fn set_included_directory(&mut self, included_directory: Vec<PathBuf>)

source§

fn set_excluded_directory(&mut self, excluded_directory: Vec<PathBuf>)

source§

fn set_allowed_extensions(&mut self, allowed_extensions: String)

source§

fn set_excluded_extensions(&mut self, excluded_extensions: String)

source§

fn set_excluded_items(&mut self, excluded_items: Vec<String>)

source§

fn prepare_items(&mut self)

source§

fn debug_print_common(&self)

source§

impl DebugPrint for BadExtensions

source§

impl Default for BadExtensions

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl PrintResults for BadExtensions

source§

fn write_results<T: Write>(&self, writer: &mut T) -> Result<()>

source§

fn save_results_to_file_as_json( &self, file_name: &str, pretty_print: bool ) -> Result<()>

source§

fn print_results_to_output(&self)

source§

fn print_results_to_file(&self, file_name: &str) -> Result<()>

source§

fn save_results_to_file_as_json_internal<T: Serialize + Debug>( &self, file_name: &str, item_to_serialize: &T, pretty_print: bool ) -> Result<()>

source§

fn save_results_to_file_as_json_pretty<T: Serialize + Debug>( &self, file_name: &str, item_to_serialize: &T ) -> Result<()>

source§

fn save_results_to_file_as_json_compact<T: Serialize + Debug>( &self, file_name: &str, item_to_serialize: &T ) -> Result<()>

source§

fn save_all_in_one(&self, file_name: &str) -> Result<()>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<F, T> IntoSample<T> for F
where T: FromSample<F>,

§

fn into_sample(self) -> T

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<R, P> ReadPrimitive<R> for P
where R: Read + ReadEndian<P>, P: Default,

source§

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().
source§

fn read_from_big_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
source§

fn read_from_native_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V