pub unsafe trait WireCompatible<T: Message>: Message + Default {
    // Provided method
    fn convert(old: &T) -> Self { ... }
}
Expand description

Denotes that Self is wire compatible with type T.

You should not implement this yourself, instead use the wire_compatible! macro.

Provided Methods§

source

fn convert(old: &T) -> Self

Converts the type T into Self by serializing T and deserializing as Self.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl WireCompatible<CatalogItem> for mz_catalog::durable::upgrade::objects_v68::CatalogItem

source§

impl WireCompatible<ClusterId> for mz_catalog::durable::upgrade::objects_v68::ClusterId

source§

impl WireCompatible<ClusterIntrospectionSourceIndexKey> for mz_catalog::durable::upgrade::objects_v68::ClusterIntrospectionSourceIndexKey

source§

impl WireCompatible<ClusterReplicaId> for mz_catalog::durable::upgrade::objects_v68::ClusterReplicaId

source§

impl WireCompatible<CommentValue> for mz_catalog::durable::upgrade::objects_v68::CommentValue

source§

impl WireCompatible<DatabaseId> for mz_catalog::durable::upgrade::objects_v68::DatabaseId

source§

impl WireCompatible<GidMappingKey> for mz_catalog::durable::upgrade::objects_v68::GidMappingKey

source§

impl WireCompatible<GlobalId> for mz_catalog::durable::upgrade::objects_v68::GlobalId

source§

impl WireCompatible<MzAclItem> for mz_catalog::durable::upgrade::objects_v68::MzAclItem

source§

impl WireCompatible<ResolvedSchema> for mz_catalog::durable::upgrade::objects_v68::ResolvedSchema

source§

impl WireCompatible<RoleId> for mz_catalog::durable::upgrade::objects_v68::RoleId

source§

impl WireCompatible<SchemaId> for mz_catalog::durable::upgrade::objects_v68::SchemaId

source§

impl WireCompatible<SourceReferencesValue> for mz_catalog::durable::upgrade::objects_v68::SourceReferencesValue

source§

impl WireCompatible<CatalogItem> for mz_catalog::durable::upgrade::objects_v67::CatalogItem

source§

impl WireCompatible<ClusterId> for mz_catalog::durable::upgrade::objects_v67::ClusterId

source§

impl WireCompatible<ClusterIntrospectionSourceIndexKey> for mz_catalog::durable::upgrade::objects_v67::ClusterIntrospectionSourceIndexKey

source§

impl WireCompatible<ClusterReplicaId> for mz_catalog::durable::upgrade::objects_v67::ClusterReplicaId

source§

impl WireCompatible<CommentValue> for mz_catalog::durable::upgrade::objects_v67::CommentValue

source§

impl WireCompatible<DatabaseId> for mz_catalog::durable::upgrade::objects_v67::DatabaseId

source§

impl WireCompatible<GidMappingKey> for mz_catalog::durable::upgrade::objects_v67::GidMappingKey

source§

impl WireCompatible<GlobalId> for mz_catalog::durable::upgrade::objects_v67::GlobalId

source§

impl WireCompatible<MzAclItem> for mz_catalog::durable::upgrade::objects_v67::MzAclItem

source§

impl WireCompatible<ResolvedSchema> for mz_catalog::durable::upgrade::objects_v67::ResolvedSchema

source§

impl WireCompatible<RoleId> for mz_catalog::durable::upgrade::objects_v67::RoleId

source§

impl WireCompatible<SchemaId> for mz_catalog::durable::upgrade::objects_v67::SchemaId

source§

impl WireCompatible<SourceReferencesValue> for mz_catalog::durable::upgrade::objects_v67::SourceReferencesValue

source§

impl<T: Message + Default + Clone> WireCompatible<T> for T