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§

source

fn alter_compatible(&self, id: GlobalId, other: &Self) -> Result<(), AlterError>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl AlterCompatible for GlobalId

Implementors§

source§

impl AlterCompatible for SourceExportDetails

source§

impl AlterCompatible for AwsConnection

source§

impl AlterCompatible for AwsPrivatelinkConnection

source§

impl AlterCompatible for SshConnection

source§

impl AlterCompatible for CollectionMetadata

source§

impl AlterCompatible for KafkaSourceExportDetails

source§

impl AlterCompatible for LoadGeneratorSourceConnection

source§

impl AlterCompatible for LoadGeneratorSourceExportDetails

source§

impl AlterCompatible for MySqlSourceDetails

source§

impl AlterCompatible for MySqlSourceExportDetails

source§

impl AlterCompatible for PostgresSourceExportDetails

source§

impl AlterCompatible for PostgresSourcePublicationDetails

source§

impl<C: ConnectionAccess> AlterCompatible for Connection<C>

source§

impl<C: ConnectionAccess> AlterCompatible for Tunnel<C>

source§

impl<C: ConnectionAccess> AlterCompatible for DataEncoding<C>

source§

impl<C: ConnectionAccess> AlterCompatible for GenericSourceConnection<C>

source§

impl<C: ConnectionAccess> AlterCompatible for CsrConnection<C>

source§

impl<C: ConnectionAccess> AlterCompatible for KafkaConnection<C>

source§

impl<C: ConnectionAccess> AlterCompatible for MySqlConnection<C>

source§

impl<C: ConnectionAccess> AlterCompatible for PostgresConnection<C>

source§

impl<C: ConnectionAccess> AlterCompatible for SshTunnel<C>

source§

impl<C: ConnectionAccess> AlterCompatible for AvroEncoding<C>

source§

impl<C: ConnectionAccess> AlterCompatible for SourceDataEncoding<C>

source§

impl<C: ConnectionAccess> AlterCompatible for KafkaSourceConnection<C>

source§

impl<C: ConnectionAccess> AlterCompatible for MySqlSourceConnection<C>

source§

impl<C: ConnectionAccess> AlterCompatible for PostgresSourceConnection<C>

source§

impl<C: ConnectionAccess> AlterCompatible for SourceDesc<C>

source§

impl<C: ConnectionAccess> AlterCompatible for SourceExportDataConfig<C>

source§

impl<S: Debug + Eq + PartialEq + AlterCompatible> AlterCompatible for IngestionDescription<S>

source§

impl<S: Debug + StorageSinkDescFillState + PartialEq, T: Debug + PartialEq + PartialOrder> AlterCompatible for StorageSinkDesc<S, T>