pub struct NotAStore {
pub path: PathBuf,
}Expand description
Returned when a path is opened as a store but has no DB.md at its root.
Surfaced as the structured code NOT_A_STORE with a non-zero exit.
Fields§
§path: PathBufThe path that was inspected.
Trait Implementations§
Source§impl Error for NotAStore
impl Error for NotAStore
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 NotAStore
impl RefUnwindSafe for NotAStore
impl Send for NotAStore
impl Sync for NotAStore
impl Unpin for NotAStore
impl UnsafeUnpin for NotAStore
impl UnwindSafe for NotAStore
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