pub trait Op: Sync {
type Output: Send;
const LABEL: &str;
const EFFECT: ResidencyEffect;
// Required method
fn execute<PM: PageMap + Sync>(
&self,
ctx: &FileContext<'_, PM>,
) -> Result<Self::Output>;
// Provided method
fn finish(&self) -> Result<()> { ... }
}Required Associated Constants§
Required Associated Types§
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".