pub trait AlterCompatible: Debug + PartialEq {
// Provided method
fn alter_compatible(
&self,
id: GlobalId,
other: &Self,
) -> Result<(), AlterError> { ... }
}
Expand description
Explicitly states the contract between storage and higher levels of Materialize w/r/t which facets of objects managed by storage (e.g. sources, sinks, connections) may be altered.
n.b. when implementing this trait, leave a warning log with more details as to what the problem was, given that the returned error is scant on details.
Provided Methods§
fn alter_compatible(&self, id: GlobalId, other: &Self) -> Result<(), AlterError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.