pub trait PreReceive: MaybeSend + MaybeSync {
// Required method
fn check(
&self,
op: &Operation,
pack: Option<&BlobKey>,
) -> impl Future<Output = Result<(), ServerError>> + MaybeSend;
}Expand description
Stage 5: checks before apply. pack is set for uploads (M0-05b).
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".