pub enum ConflictStrategy {
First,
Last,
Skip,
}Expand description
Strategy for handling conflicts when merging resources.
Variants§
First
Keep the first occurrence of a key
Last
Keep the last occurrence of a key (default)
Skip
Skip conflicting entries
Trait Implementations§
Source§impl Clone for ConflictStrategy
impl Clone for ConflictStrategy
Source§impl Debug for ConflictStrategy
impl Debug for ConflictStrategy
impl Eq for ConflictStrategy
Source§impl PartialEq for ConflictStrategy
impl PartialEq for ConflictStrategy
impl StructuralPartialEq for ConflictStrategy
Auto Trait Implementations§
impl Forget for ConflictStrategy
impl Freeze for ConflictStrategy
impl Move for ConflictStrategy
impl RefUnwindSafe for ConflictStrategy
impl Send for ConflictStrategy
impl Sync for ConflictStrategy
impl Unpin for ConflictStrategy
impl UnsafeUnpin for ConflictStrategy
impl UnwindSafe for ConflictStrategy
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.