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.

Implementors§

source§

impl WireCompatible<ServerConfigurationKey> for mz_stash::upgrade::objects_v36::ServerConfigurationKey

source§

impl WireCompatible<ServerConfigurationValue> for mz_stash::upgrade::objects_v36::ServerConfigurationValue

source§

impl WireCompatible<ServerConfigurationKey> for mz_stash::upgrade::objects_v35::ServerConfigurationKey

source§

impl WireCompatible<ServerConfigurationValue> for mz_stash::upgrade::objects_v35::ServerConfigurationValue

source§

impl WireCompatible<RoleAttributes> for mz_stash::upgrade::objects_v39::RoleAttributes

source§

impl WireCompatible<RoleKey> for mz_stash::upgrade::objects_v39::RoleKey

source§

impl WireCompatible<RoleMembership> for mz_stash::upgrade::objects_v39::RoleMembership

source§

impl WireCompatible<UnmanagedLocation> for mz_stash::upgrade::objects_v40::replica_config::UnmanagedLocation

source§

impl WireCompatible<ClusterId> for mz_stash::upgrade::objects_v40::ClusterId

source§

impl WireCompatible<ClusterReplicaKey> for mz_stash::upgrade::objects_v40::ClusterReplicaKey

source§

impl WireCompatible<EpochMillis> for mz_stash::upgrade::objects_v40::EpochMillis

source§

impl WireCompatible<ReplicaLogging> for mz_stash::upgrade::objects_v40::ReplicaLogging

source§

impl WireCompatible<ReplicaMergeEffort> for mz_stash::upgrade::objects_v40::ReplicaMergeEffort

source§

impl WireCompatible<RoleAttributes> for mz_stash::upgrade::objects_v38::RoleAttributes

source§

impl WireCompatible<RoleId> for mz_stash::upgrade::objects_v40::RoleId

source§

impl WireCompatible<RoleKey> for mz_stash::upgrade::objects_v38::RoleKey

source§

impl WireCompatible<RoleMembership> for mz_stash::upgrade::objects_v38::RoleMembership

source§

impl WireCompatible<StringWrapper> for mz_stash::upgrade::objects_v40::StringWrapper

source§

impl WireCompatible<UnmanagedLocation> for mz_stash::upgrade::objects_v39::replica_config::UnmanagedLocation

source§

impl WireCompatible<ClusterId> for mz_stash::upgrade::objects_v39::ClusterId

source§

impl WireCompatible<ClusterReplicaKey> for mz_stash::upgrade::objects_v39::ClusterReplicaKey

source§

impl WireCompatible<EpochMillis> for mz_stash::upgrade::objects_v39::EpochMillis

source§

impl WireCompatible<ReplicaLogging> for mz_stash::upgrade::objects_v39::ReplicaLogging

source§

impl WireCompatible<ReplicaMergeEffort> for mz_stash::upgrade::objects_v39::ReplicaMergeEffort

source§

impl WireCompatible<RoleId> for mz_stash::upgrade::objects_v39::RoleId

source§

impl WireCompatible<StringWrapper> for mz_stash::upgrade::objects_v39::StringWrapper

source§

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