pub struct WorktreesDirError {
pub name: String,
pub reason: &'static str,
}Expand description
Why a name cannot be the worktrees directory’s.
Fields§
§name: String§reason: &'static strTrait Implementations§
Source§impl Clone for WorktreesDirError
impl Clone for WorktreesDirError
Source§impl Debug for WorktreesDirError
impl Debug for WorktreesDirError
Source§impl Display for WorktreesDirError
impl Display for WorktreesDirError
impl Eq for WorktreesDirError
Source§impl Error for WorktreesDirError
impl Error for WorktreesDirError
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()
Source§impl PartialEq for WorktreesDirError
impl PartialEq for WorktreesDirError
impl StructuralPartialEq for WorktreesDirError
Auto Trait Implementations§
impl Forget for WorktreesDirError
impl Freeze for WorktreesDirError
impl Move for WorktreesDirError
impl RefUnwindSafe for WorktreesDirError
impl Send for WorktreesDirError
impl Sync for WorktreesDirError
impl Unpin for WorktreesDirError
impl UnsafeUnpin for WorktreesDirError
impl UnwindSafe for WorktreesDirError
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