Skip to main content

Snapshotter

Trait Snapshotter 

Source
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§

Source

fn snapshot(&self, label: String) -> BoxFuture<'static, ()>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§