pub struct ScanPartitionScanned {
pub m_f: ScanPartition<ScanMatchedFile>,
pub x_f: ScanPartition<ScanMismatchedFile>,
pub m_d: ScanPartition<ScanMatchedDir>,
pub x_d: ScanPartition<ScanMismatchedDir>,
pub stat_scan: ScanStatsTreeFsScanned,
pub stat_part: ScanStatsPartitioning,
pub stat_patt: Vec<String>,
pub stat_work: String,
}Expand description
Skaner i filter systemu plików (Zunifikowane)
Fields§
§m_f: ScanPartition<ScanMatchedFile>§x_f: ScanPartition<ScanMismatchedFile>§m_d: ScanPartition<ScanMatchedDir>§x_d: ScanPartition<ScanMismatchedDir>§stat_scan: ScanStatsTreeFsScanned§stat_part: ScanStatsPartitioning§stat_patt: Vec<String>§stat_work: StringImplementations§
Source§impl ScanPartitionScanned
impl ScanPartitionScanned
pub fn scan(explorer: &ReadyJobExplorer) -> Self
Sourcepub fn to_scanned_nodes(&self) -> Vec<ScanNodeScanned>
pub fn to_scanned_nodes(&self) -> Vec<ScanNodeScanned>
Zwraca połączone i posortowane struktury ScanNodeScanned (pliki + katalogi).
pub fn iter_nodes(&self) -> impl Iterator<Item = ScanNodeScanned> + '_
pub fn iter_file_paths(&self) -> impl Iterator<Item = &str> + '_
pub fn iter_dir_paths(&self) -> impl Iterator<Item = &str> + '_
pub fn iter_paths(&self) -> impl Iterator<Item = &str> + '_
Trait Implementations§
Source§impl Clone for ScanPartitionScanned
impl Clone for ScanPartitionScanned
Source§fn clone(&self) -> ScanPartitionScanned
fn clone(&self) -> ScanPartitionScanned
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ScanPartitionScanned
impl RefUnwindSafe for ScanPartitionScanned
impl Send for ScanPartitionScanned
impl Sync for ScanPartitionScanned
impl Unpin for ScanPartitionScanned
impl UnsafeUnpin for ScanPartitionScanned
impl UnwindSafe for ScanPartitionScanned
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