pub enum UntrustedRepositoryReason {
Embedded {
enclosing: PathBuf,
},
ForeignOwner {
path: PathBuf,
owner: u32,
current: u32,
},
}Expand description
Why discovery refused a repository candidate. See
HeddleError::UntrustedRepository.
Variants§
Embedded
The candidate lies inside the worktree of the enclosing repository at
enclosing, so its .heddle may be tracked or checked-out content.
ForeignOwner
The repository metadata at path is owned by owner, not by the
current effective user current.
Trait Implementations§
Source§impl Clone for UntrustedRepositoryReason
impl Clone for UntrustedRepositoryReason
Source§fn clone(&self) -> UntrustedRepositoryReason
fn clone(&self) -> UntrustedRepositoryReason
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 moreSource§impl Debug for UntrustedRepositoryReason
impl Debug for UntrustedRepositoryReason
Source§impl Display for UntrustedRepositoryReason
impl Display for UntrustedRepositoryReason
impl Eq for UntrustedRepositoryReason
impl StructuralPartialEq for UntrustedRepositoryReason
Auto Trait Implementations§
impl Freeze for UntrustedRepositoryReason
impl RefUnwindSafe for UntrustedRepositoryReason
impl Send for UntrustedRepositoryReason
impl Sync for UntrustedRepositoryReason
impl Unpin for UntrustedRepositoryReason
impl UnsafeUnpin for UntrustedRepositoryReason
impl UnwindSafe for UntrustedRepositoryReason
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