pub trait Snapshotter: Send + Sync {
// Required method
fn snapshot(&self, label: String) -> BoxFuture<'static, ()>;
}Expand description
Workspace snapshots around mutating tool batches (M3b shadow-git). Implementations run the actual snapshot off-thread; a slow or absent snapshotter must never wedge the turn.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".