pub enum RefQueryError {
Store(Error),
MissingObjectDatabase,
MissingObject(ObjectId),
NotCommit(ObjectId),
}Expand description
Errors from ref query operations.
Variants§
Store(Error)
Ref store iteration or resolution failed.
MissingObjectDatabase
Creator-date sort was requested but no object database was supplied.
MissingObject(ObjectId)
Filter object id is not present in the object database.
NotCommit(ObjectId)
--contains / --merged target does not resolve to a commit.
Trait Implementations§
Source§impl Debug for RefQueryError
impl Debug for RefQueryError
Source§impl Display for RefQueryError
impl Display for RefQueryError
Source§impl Error for RefQueryError
impl Error for RefQueryError
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 !RefUnwindSafe for RefQueryError
impl !UnwindSafe for RefQueryError
impl Freeze for RefQueryError
impl Send for RefQueryError
impl Sync for RefQueryError
impl Unpin for RefQueryError
impl UnsafeUnpin for RefQueryError
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