pub struct TargetNotFound(pub String);Expand description
The path a call names does not exist, so the call took no effect. A call that names another path may succeed: a missed lookup while exploring is a retryable failure, not one that counts toward the tool’s lockout. Raised by the file tools from the backend’s own metadata failure, never inferred from an error’s words.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Debug for TargetNotFound
impl Debug for TargetNotFound
Source§impl Display for TargetNotFound
impl Display for TargetNotFound
Source§impl Error for TargetNotFound
impl Error for TargetNotFound
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 Forget for TargetNotFound
impl Freeze for TargetNotFound
impl Move for TargetNotFound
impl RefUnwindSafe for TargetNotFound
impl Send for TargetNotFound
impl Sync for TargetNotFound
impl Unpin for TargetNotFound
impl UnsafeUnpin for TargetNotFound
impl UnwindSafe for TargetNotFound
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