pub struct InlineOnlyOverlayLoader;Expand description
A loader that accepts only inline overlays, for fuzzing and benchmarks.
Trait Implementations§
Source§impl OverlayLoader for InlineOnlyOverlayLoader
impl OverlayLoader for InlineOnlyOverlayLoader
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 Forget for InlineOnlyOverlayLoader
impl Freeze for InlineOnlyOverlayLoader
impl Move for InlineOnlyOverlayLoader
impl RefUnwindSafe for InlineOnlyOverlayLoader
impl Send for InlineOnlyOverlayLoader
impl Sync for InlineOnlyOverlayLoader
impl Unpin for InlineOnlyOverlayLoader
impl UnsafeUnpin for InlineOnlyOverlayLoader
impl UnwindSafe for InlineOnlyOverlayLoader
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