pub enum CachePathError {
EscapesWorktree {
check: String,
path: String,
},
SaveFailed {
check: String,
path: String,
reason: String,
},
}Expand description
A cache path the host-exec slice will not persist.
Variants§
EscapesWorktree
Absolute path or .. would escape the evaluated worktree.
SaveFailed
The only durable copy could not be written to the slot.
Trait Implementations§
Source§impl Debug for CachePathError
impl Debug for CachePathError
Source§impl Display for CachePathError
impl Display for CachePathError
Source§impl Error for CachePathError
impl Error for CachePathError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for CachePathError
impl RefUnwindSafe for CachePathError
impl Send for CachePathError
impl Sync for CachePathError
impl Unpin for CachePathError
impl UnsafeUnpin for CachePathError
impl UnwindSafe for CachePathError
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