Trait mz_storage_types::AlterCompatible
source · 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>
Object Safety§
This trait is not object safe.