pub enum TendrilActionError {
IoError {
kind: ErrorKind,
loc: Location,
},
ModeMismatch,
TypeMismatch {
mistype: FsoType,
loc: Location,
},
}Expand description
Indicates an unsuccessful tendril action.
Variants§
IoError
General file system errors
loc indicates which side of the action had the unexpected type,
as indicated by mistype
ModeMismatch
The tendril mode does not match the attempted action, such as:
- Attempting to pull a link-type tendril
- Attempting to link a copy-type tendril
TypeMismatch
The type of the remote and local file system objects do not match, or do not match the expected types, such as:
- The source is a file but the destination is a folder
- The local or remote are symlinks (during a push/pull action)
- The remote is not a symlink (during a link action)
Trait Implementations§
Source§impl Clone for TendrilActionError
impl Clone for TendrilActionError
Source§fn clone(&self) -> TendrilActionError
fn clone(&self) -> TendrilActionError
Returns a duplicate of the value. Read more
1.0.0 · 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 TendrilActionError
impl Debug for TendrilActionError
Source§impl From<Error> for TendrilActionError
impl From<Error> for TendrilActionError
Source§impl From<ErrorKind> for TendrilActionError
impl From<ErrorKind> for TendrilActionError
Source§impl PartialEq for TendrilActionError
impl PartialEq for TendrilActionError
Source§impl ToString for TendrilActionError
impl ToString for TendrilActionError
impl Eq for TendrilActionError
impl StructuralPartialEq for TendrilActionError
Auto Trait Implementations§
impl Freeze for TendrilActionError
impl RefUnwindSafe for TendrilActionError
impl Send for TendrilActionError
impl Sync for TendrilActionError
impl Unpin for TendrilActionError
impl UnsafeUnpin for TendrilActionError
impl UnwindSafe for TendrilActionError
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.