pub struct DirSource { /* private fields */ }Expand description
A plugin package rooted at a real directory.
Implementations§
Source§impl DirSource
impl DirSource
Trait Implementations§
Source§impl Source for DirSource
impl Source for DirSource
Source§type Error = Error
type Error = Error
The source’s own failure type. Failures are folded into the loading
conversation as
Answer::Unavailable, where the spec’s failure
boundaries decide how far the damage spreads.Source§fn kind(&mut self, path: &PackagePath) -> Result<Option<FileKind>, Error>
fn kind(&mut self, path: &PackagePath) -> Result<Option<FileKind>, Error>
What kind of entry does
path resolve to? None if absent.Auto Trait Implementations§
impl Freeze for DirSource
impl RefUnwindSafe for DirSource
impl Send for DirSource
impl Sync for DirSource
impl Unpin for DirSource
impl UnsafeUnpin for DirSource
impl UnwindSafe for DirSource
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