pub struct SandboxedFileProvider { /* private fields */ }Expand description
Sandboxed file provider that restricts access to the pack directory
This is the default provider used during template rendering. It ensures that templates cannot access files outside the pack root.
Implementations§
Trait Implementations§
Source§impl Debug for SandboxedFileProvider
impl Debug for SandboxedFileProvider
Source§impl FileProvider for SandboxedFileProvider
impl FileProvider for SandboxedFileProvider
Auto Trait Implementations§
impl Freeze for SandboxedFileProvider
impl RefUnwindSafe for SandboxedFileProvider
impl Send for SandboxedFileProvider
impl Sync for SandboxedFileProvider
impl Unpin for SandboxedFileProvider
impl UnwindSafe for SandboxedFileProvider
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