pub enum ConflictType {
FileExists,
LocalModified,
RemoteModified,
BothModified,
PathTypeChanged,
QuotaExceeded,
}Expand description
Type of conflict detected during staging sync.
Variants§
FileExists
File already exists at destination with different content.
LocalModified
Local file was modified after staging.
RemoteModified
Destination file was modified since staging.
BothModified
Both local and remote were modified.
PathTypeChanged
Destination path is now occupied by a directory.
QuotaExceeded
Insufficient quota for the upload.
Implementations§
Source§impl ConflictType
impl ConflictType
Sourcepub fn description(&self) -> &'static str
pub fn description(&self) -> &'static str
Returns a human-readable description of the conflict.
Trait Implementations§
Source§impl Clone for ConflictType
impl Clone for ConflictType
Source§fn clone(&self) -> ConflictType
fn clone(&self) -> ConflictType
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 ConflictType
impl Debug for ConflictType
Source§impl<'de> Deserialize<'de> for ConflictType
impl<'de> Deserialize<'de> for ConflictType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ConflictType
impl Hash for ConflictType
Source§impl PartialEq for ConflictType
impl PartialEq for ConflictType
Source§impl Serialize for ConflictType
impl Serialize for ConflictType
impl Copy for ConflictType
impl Eq for ConflictType
impl StructuralPartialEq for ConflictType
Auto Trait Implementations§
impl Freeze for ConflictType
impl RefUnwindSafe for ConflictType
impl Send for ConflictType
impl Sync for ConflictType
impl Unpin for ConflictType
impl UnsafeUnpin for ConflictType
impl UnwindSafe for ConflictType
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