pub enum RawConflict {
UnversionedExecutability(TransId),
NonFileExecutability(TransId),
Overwrite(TransId, String),
ParentLoop(TransId),
UnversionedParent(TransId),
VersioningNoContents(TransId),
VersioningBadKind(TransId),
Duplicate(TransId, TransId, String),
MissingParent(TransId),
NonDirectoryParent(TransId),
}Expand description
Enum representing different types of conflicts that can occur during transformation.
Variants§
UnversionedExecutability(TransId)
Conflict caused by trying to change executability of an unversioned file.
NonFileExecutability(TransId)
Conflict caused by trying to set executability on a non-file.
Overwrite(TransId, String)
Conflict caused by trying to overwrite an existing file with different content.
ParentLoop(TransId)
Conflict caused by a directory loop in the parent structure.
UnversionedParent(TransId)
Conflict caused by trying to version a file with an unversioned parent.
VersioningNoContents(TransId)
Conflict caused by trying to version a file without contents.
VersioningBadKind(TransId)
Conflict caused by trying to version a file with an unsupported kind.
Duplicate(TransId, TransId, String)
Conflict caused by trying to add the same file path twice.
MissingParent(TransId)
Conflict caused by a missing parent directory.
NonDirectoryParent(TransId)
Conflict caused by a parent that is not a directory.
Trait Implementations§
Source§impl Clone for RawConflict
impl Clone for RawConflict
Source§fn clone(&self) -> RawConflict
fn clone(&self) -> RawConflict
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 RawConflict
impl Debug for RawConflict
Source§impl<'a, 'py> FromPyObject<'a, 'py> for RawConflict
impl<'a, 'py> FromPyObject<'a, 'py> for RawConflict
Source§impl Hash for RawConflict
impl Hash for RawConflict
Source§impl<'py> IntoPyObject<'py> for RawConflict
impl<'py> IntoPyObject<'py> for RawConflict
Source§type Output = Bound<'py, <RawConflict as IntoPyObject<'py>>::Target>
type Output = Bound<'py, <RawConflict as IntoPyObject<'py>>::Target>
The smart pointer type to use. Read more
Source§type Error = Infallible
type Error = Infallible
The type returned in the event of a conversion error.
Source§impl PartialEq for RawConflict
impl PartialEq for RawConflict
impl Eq for RawConflict
impl StructuralPartialEq for RawConflict
Auto Trait Implementations§
impl Freeze for RawConflict
impl RefUnwindSafe for RawConflict
impl Send for RawConflict
impl Sync for RawConflict
impl Unpin for RawConflict
impl UnsafeUnpin for RawConflict
impl UnwindSafe for RawConflict
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<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
Source§fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
Converts
self into an owned Python object, dropping type information.