pub enum GetPathStatus {
Tracked,
NotFound,
NotTracked,
}Expand description
Result of validating a file path for get.
Variants§
Tracked
Metadata exists: file is tracked
NotFound
No metadata and no file on disk
NotTracked
File exists on disk but is not tracked by DVS
Trait Implementations§
Source§impl Clone for GetPathStatus
impl Clone for GetPathStatus
Source§fn clone(&self) -> GetPathStatus
fn clone(&self) -> GetPathStatus
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 GetPathStatus
impl Debug for GetPathStatus
impl Eq for GetPathStatus
Source§impl PartialEq for GetPathStatus
impl PartialEq for GetPathStatus
Source§fn eq(&self, other: &GetPathStatus) -> bool
fn eq(&self, other: &GetPathStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetPathStatus
Auto Trait Implementations§
impl Freeze for GetPathStatus
impl RefUnwindSafe for GetPathStatus
impl Send for GetPathStatus
impl Sync for GetPathStatus
impl Unpin for GetPathStatus
impl UnsafeUnpin for GetPathStatus
impl UnwindSafe for GetPathStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more