pub struct FsOverlayLoader {
pub confine_to: Option<PathBuf>,
/* private fields */
}Expand description
Reads overlay files and directories from disk, recording what it read.
Fields§
§confine_to: Option<PathBuf>Reject overlay paths outside this root.
Implementations§
Trait Implementations§
Source§impl OverlayLoader for FsOverlayLoader
impl OverlayLoader for FsOverlayLoader
Source§fn load(
&self,
entry: &OverlayEntry,
) -> Result<Vec<(OverlayOrigin, OverlayEntry)>, RulesetError>
fn load( &self, entry: &OverlayEntry, ) -> Result<Vec<(OverlayOrigin, OverlayEntry)>, RulesetError>
Expand one
file or dir entry into its inline entries, in order.Source§fn files(&self) -> Vec<SourceFile>
fn files(&self) -> Vec<SourceFile>
Overlay files read by this loader, for the lockfile.
Auto Trait Implementations§
impl !Freeze for FsOverlayLoader
impl Forget for FsOverlayLoader
impl Move for FsOverlayLoader
impl RefUnwindSafe for FsOverlayLoader
impl Send for FsOverlayLoader
impl Sync for FsOverlayLoader
impl Unpin for FsOverlayLoader
impl UnsafeUnpin for FsOverlayLoader
impl UnwindSafe for FsOverlayLoader
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