pub struct PromptDir { /* private fields */ }Expand description
A prompt source backed by a directory on disk.
Paths are confined to the root: an absolute path, or one that climbs out with .., is refused
before the filesystem is touched. Prompt files are ordinary repository content and a factory
definition should not be able to read arbitrary files by asking nicely.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PromptDir
impl RefUnwindSafe for PromptDir
impl Send for PromptDir
impl Sync for PromptDir
impl Unpin for PromptDir
impl UnsafeUnpin for PromptDir
impl UnwindSafe for PromptDir
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