#[non_exhaustive]pub enum RepoErrorKind {
CouldNotOpenLockFile,
CouldNotLock,
InvalidSharedPath,
CouldNotComputeHash,
CouldNotDeleteDirectory,
CouldNotDeleteFile,
InvalidLinkFile,
InvalidMetaId,
InvalidLinkId,
Other,
}
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.
CouldNotOpenLockFile
CouldNotLock
CouldNotComputeHash
CouldNotDeleteDirectory
CouldNotDeleteFile
InvalidLinkFile
InvalidMetaId
InvalidLinkId
Other
Trait Implementations§
Source§impl Debug for RepoErrorKind
impl Debug for RepoErrorKind
Source§impl PartialEq for RepoErrorKind
impl PartialEq for RepoErrorKind
impl StructuralPartialEq for RepoErrorKind
Auto Trait Implementations§
impl Freeze for RepoErrorKind
impl RefUnwindSafe for RepoErrorKind
impl Send for RepoErrorKind
impl Sync for RepoErrorKind
impl Unpin for RepoErrorKind
impl UnwindSafe for RepoErrorKind
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