pub struct FsSources;Expand description
The real filesystem — SourceProvider’s default.
Trait Implementations§
impl Copy for FsSources
Source§impl SourceProvider for FsSources
impl SourceProvider for FsSources
Source§fn read(&self, path: &Path) -> Result<String>
fn read(&self, path: &Path) -> Result<String>
The file’s text.
Err is surfaced as LoadError::Io.Auto Trait Implementations§
impl Freeze for FsSources
impl RefUnwindSafe for FsSources
impl Send for FsSources
impl Sync for FsSources
impl Unpin for FsSources
impl UnsafeUnpin for FsSources
impl UnwindSafe for FsSources
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