pub enum ConflictPolicy {
Skip,
Fail,
Replace,
}Expand description
How to handle streams that already exist during import.
Variants§
Skip
Skip streams that already exist (log a warning, continue).
Fail
Fail the entire import if any stream already exists (pre-scans all names before writing).
Replace
Delete and recreate existing streams from the export data.
Trait Implementations§
Source§impl Clone for ConflictPolicy
impl Clone for ConflictPolicy
Source§fn clone(&self) -> ConflictPolicy
fn clone(&self) -> ConflictPolicy
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 ConflictPolicy
impl Debug for ConflictPolicy
impl Copy for ConflictPolicy
Auto Trait Implementations§
impl Freeze for ConflictPolicy
impl RefUnwindSafe for ConflictPolicy
impl Send for ConflictPolicy
impl Sync for ConflictPolicy
impl Unpin for ConflictPolicy
impl UnsafeUnpin for ConflictPolicy
impl UnwindSafe for ConflictPolicy
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