#[non_exhaustive]pub enum NotFoundKind {
Commit,
Ref,
Branch,
Tag,
Remote,
Path,
Worktree,
Submodule,
}Expand description
The kind of named object that was not found.
Marked #[non_exhaustive] — new variants may be added in minor releases.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for NotFoundKind
impl Clone for NotFoundKind
Source§fn clone(&self) -> NotFoundKind
fn clone(&self) -> NotFoundKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NotFoundKind
Source§impl Debug for NotFoundKind
impl Debug for NotFoundKind
Source§impl Display for NotFoundKind
impl Display for NotFoundKind
impl Eq for NotFoundKind
Source§impl PartialEq for NotFoundKind
impl PartialEq for NotFoundKind
Source§fn eq(&self, other: &NotFoundKind) -> bool
fn eq(&self, other: &NotFoundKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NotFoundKind
Auto Trait Implementations§
impl Freeze for NotFoundKind
impl RefUnwindSafe for NotFoundKind
impl Send for NotFoundKind
impl Sync for NotFoundKind
impl Unpin for NotFoundKind
impl UnsafeUnpin for NotFoundKind
impl UnwindSafe for NotFoundKind
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