pub struct FileSystemDiscoveryProvider { /* private fields */ }Implementations§
Source§impl FileSystemDiscoveryProvider
impl FileSystemDiscoveryProvider
pub fn new( roots: Vec<PathBuf>, max_depth: usize, excluded_roots: Vec<PathBuf>, ) -> Self
pub fn with_windows_search_options( roots: Vec<PathBuf>, max_depth: usize, excluded_roots: Vec<PathBuf>, windows_search_enabled: bool, windows_search_fallback_filesystem: bool, ) -> Self
pub fn with_options( roots: Vec<PathBuf>, max_depth: usize, excluded_roots: Vec<PathBuf>, windows_search_enabled: bool, windows_search_fallback_filesystem: bool, show_files: bool, show_folders: bool, ) -> Self
pub fn with_index_limits( self, max_items_total: usize, max_items_per_root: usize, ) -> Self
Trait Implementations§
Source§impl DiscoveryProvider for FileSystemDiscoveryProvider
impl DiscoveryProvider for FileSystemDiscoveryProvider
fn provider_name(&self) -> &'static str
fn discover(&self) -> Result<Vec<SearchItem>, ProviderError>
fn change_stamp(&self) -> Option<String>
Auto Trait Implementations§
impl Freeze for FileSystemDiscoveryProvider
impl RefUnwindSafe for FileSystemDiscoveryProvider
impl Send for FileSystemDiscoveryProvider
impl Sync for FileSystemDiscoveryProvider
impl Unpin for FileSystemDiscoveryProvider
impl UnsafeUnpin for FileSystemDiscoveryProvider
impl UnwindSafe for FileSystemDiscoveryProvider
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