pub struct DirSource { /* private fields */ }Expand description
Persona files in a directory on disk.
Paths are checked with valid_relative_path before the join, so a
persona can never read outside its directory.
Implementations§
Trait Implementations§
Source§impl PersonaSource for DirSource
impl PersonaSource for DirSource
Auto Trait Implementations§
impl Forget for DirSource
impl Freeze for DirSource
impl Move for DirSource
impl RefUnwindSafe for DirSource
impl Send for DirSourcewhere
RawVecInner: Send,
impl Sync for DirSourcewhere
RawVecInner: Sync,
impl Unpin for DirSource
impl UnsafeUnpin for DirSource
impl UnwindSafe for DirSourcewhere
RawVecInner: UnwindSafe,
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