pub enum TreePathResolveError {
Store {
hash: ContentHash,
source: Box<HeddleError>,
},
SubtreeMissing(ContentHash),
}Expand description
Errors surfaced by resolve_tree_path that callers map to their own messages.
Variants§
Trait Implementations§
Source§impl Debug for TreePathResolveError
impl Debug for TreePathResolveError
Source§impl Display for TreePathResolveError
impl Display for TreePathResolveError
Source§impl Error for TreePathResolveError
impl Error for TreePathResolveError
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 From<TreePathResolveError> for HeddleError
impl From<TreePathResolveError> for HeddleError
Source§fn from(value: TreePathResolveError) -> Self
fn from(value: TreePathResolveError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for TreePathResolveError
impl !UnwindSafe for TreePathResolveError
impl Freeze for TreePathResolveError
impl Send for TreePathResolveError
impl Sync for TreePathResolveError
impl Unpin for TreePathResolveError
impl UnsafeUnpin for TreePathResolveError
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