pub struct FsDiscoverer;Expand description
Default Discoverer implementation.
Stateless and Send + Sync; cheap to construct (no fields). The
per-walk caps and excludes are supplied via DiscoveryOptions.
Implementations§
Source§impl FsDiscoverer
impl FsDiscoverer
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Construct an FsDiscoverer.
Trait Implementations§
Source§impl Clone for FsDiscoverer
impl Clone for FsDiscoverer
Source§fn clone(&self) -> FsDiscoverer
fn clone(&self) -> FsDiscoverer
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 moreSource§impl Debug for FsDiscoverer
impl Debug for FsDiscoverer
Source§impl Default for FsDiscoverer
impl Default for FsDiscoverer
Source§fn default() -> FsDiscoverer
fn default() -> FsDiscoverer
Returns the “default value” for a type. Read more
Source§impl Discoverer for FsDiscoverer
impl Discoverer for FsDiscoverer
Source§fn discover(&self, root: &Path, opts: &DiscoveryOptions) -> Result<Discovered>
fn discover(&self, root: &Path, opts: &DiscoveryOptions) -> Result<Discovered>
impl Copy for FsDiscoverer
Auto Trait Implementations§
impl Freeze for FsDiscoverer
impl RefUnwindSafe for FsDiscoverer
impl Send for FsDiscoverer
impl Sync for FsDiscoverer
impl Unpin for FsDiscoverer
impl UnsafeUnpin for FsDiscoverer
impl UnwindSafe for FsDiscoverer
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