pub trait BackendArchiveClient {
// Required method
fn mark_archived(
&self,
change_id: &str,
) -> Result<ArchiveResult, BackendError>;
}Expand description
Port for backend archive lifecycle operations.
Marks a change as archived on the backend, making it immutable for subsequent backend operations (no further writes or leases).
Required Methods§
Sourcefn mark_archived(&self, change_id: &str) -> Result<ArchiveResult, BackendError>
fn mark_archived(&self, change_id: &str) -> Result<ArchiveResult, BackendError>
Mark a change as archived on the backend.
After this call succeeds, the backend SHALL reject further write or lease operations for the change.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".