pub enum Record<Context> {
FileMove {
new_name: String,
del: Change<Context>,
add: Change<Context>,
},
FileDel {
name: String,
del: Change<Context>,
},
FileAdd {
name: String,
add: Change<Context>,
},
Change {
file: Rc<PathBuf>,
change: Change<Context>,
conflict_reordering: Vec<Change<Context>>,
},
Replace {
file: Rc<PathBuf>,
adds: Change<Context>,
dels: Change<Context>,
conflict_reordering: Vec<Change<Context>>,
},
}
Expand description
Semantic groups of changes, for interface purposes.
Variants§
Implementations§
Trait Implementations§
Source§impl<Context> IntoIterator for Record<Context>
impl<Context> IntoIterator for Record<Context>
Auto Trait Implementations§
impl<Context> Freeze for Record<Context>where
Context: Freeze,
impl<Context> RefUnwindSafe for Record<Context>where
Context: RefUnwindSafe,
impl<Context> !Send for Record<Context>
impl<Context> !Sync for Record<Context>
impl<Context> Unpin for Record<Context>where
Context: Unpin,
impl<Context> UnwindSafe for Record<Context>where
Context: UnwindSafe,
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