Skip to main content

EncodableKey

Trait EncodableKey 

Source
pub trait EncodableKey {
    const KIND: KeyKind;

    // Required methods
    fn encode(&self) -> EncodedKey;
    fn decode(key: &EncodedKey) -> Option<Self>
       where Self: Sized;
}

Required Associated Constants§

Required Methods§

Source

fn encode(&self) -> EncodedKey

Source

fn decode(key: &EncodedKey) -> Option<Self>
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl EncodableKey for AuthenticationKey

Source§

const KIND: KeyKind = KeyKind::Authentication

Source§

impl EncodableKey for BindingKey

Source§

const KIND: KeyKind = KeyKind::Binding

Source§

impl EncodableKey for CdcConsumerKey

Source§

const KIND: KeyKind = KeyKind::CdcConsumer

Source§

impl EncodableKey for ColumnKey

Source§

const KIND: KeyKind = KeyKind::Column

Source§

impl EncodableKey for ColumnSequenceKey

Source§

const KIND: KeyKind = KeyKind::ColumnSequence

Source§

impl EncodableKey for ColumnsKey

Source§

const KIND: KeyKind = KeyKind::Columns

Source§

impl EncodableKey for ConfigStorageKey

Source§

const KIND: KeyKind = KeyKind::ConfigStorage

Source§

impl EncodableKey for DictionaryEntryIndexKey

Source§

const KIND: KeyKind = KeyKind::DictionaryEntryIndex

Source§

impl EncodableKey for DictionaryEntryKey

Source§

const KIND: KeyKind = KeyKind::DictionaryEntry

Source§

impl EncodableKey for DictionaryKey

Source§

const KIND: KeyKind = KeyKind::Dictionary

Source§

impl EncodableKey for DictionarySequenceKey

Source§

const KIND: KeyKind = KeyKind::DictionarySequence

Source§

impl EncodableKey for FlowKey

Source§

const KIND: KeyKind = KeyKind::Flow

Source§

impl EncodableKey for FlowEdgeByFlowKey

Source§

const KIND: KeyKind = KeyKind::FlowEdgeByFlow

Source§

impl EncodableKey for FlowEdgeKey

Source§

const KIND: KeyKind = KeyKind::FlowEdge

Source§

impl EncodableKey for FlowNodeByFlowKey

Source§

const KIND: KeyKind = KeyKind::FlowNodeByFlow

Source§

impl EncodableKey for FlowNodeKey

Source§

const KIND: KeyKind = KeyKind::FlowNode

Source§

impl EncodableKey for FlowNodeInternalStateKey

Source§

const KIND: KeyKind = KeyKind::FlowNodeInternalState

Source§

impl EncodableKey for FlowNodeStateKey

Source§

const KIND: KeyKind = KeyKind::FlowNodeState

Source§

impl EncodableKey for FlowVersionKey

Source§

const KIND: KeyKind = KeyKind::FlowVersion

Source§

impl EncodableKey for GrantedRoleKey

Source§

const KIND: KeyKind = KeyKind::GrantedRole

Source§

impl EncodableKey for HandlerKey

Source§

const KIND: KeyKind = KeyKind::Handler

Source§

impl EncodableKey for IdentityKey

Source§

const KIND: KeyKind = KeyKind::Identity

Source§

impl EncodableKey for IndexKey

Source§

const KIND: KeyKind = KeyKind::Index

Source§

impl EncodableKey for IndexEntryKey

Source§

const KIND: KeyKind = KeyKind::IndexEntry

Source§

impl EncodableKey for MigrationKey

Source§

const KIND: KeyKind = KeyKind::Migration

Source§

impl EncodableKey for MigrationEventKey

Source§

const KIND: KeyKind = KeyKind::MigrationEvent

Source§

impl EncodableKey for NamespaceKey

Source§

const KIND: KeyKind = KeyKind::Namespace

Source§

impl EncodableKey for NamespaceBindingKey

Source§

const KIND: KeyKind = KeyKind::NamespaceBinding

Source§

impl EncodableKey for NamespaceDictionaryKey

Source§

const KIND: KeyKind = KeyKind::NamespaceDictionary

Source§

impl EncodableKey for NamespaceFlowKey

Source§

const KIND: KeyKind = KeyKind::NamespaceFlow

Source§

impl EncodableKey for NamespaceHandlerKey

Source§

const KIND: KeyKind = KeyKind::NamespaceHandler

Source§

impl EncodableKey for NamespaceProcedureKey

Source§

const KIND: KeyKind = KeyKind::NamespaceProcedure

Source§

impl EncodableKey for NamespaceRingBufferKey

Source§

const KIND: KeyKind = KeyKind::NamespaceRingBuffer

Source§

impl EncodableKey for NamespaceSeriesKey

Source§

const KIND: KeyKind = KeyKind::NamespaceSeries

Source§

impl EncodableKey for NamespaceSinkKey

Source§

const KIND: KeyKind = KeyKind::NamespaceSink

Source§

impl EncodableKey for NamespaceSourceKey

Source§

const KIND: KeyKind = KeyKind::NamespaceSource

Source§

impl EncodableKey for NamespaceSumTypeKey

Source§

const KIND: KeyKind = KeyKind::NamespaceSumType

Source§

impl EncodableKey for NamespaceTableKey

Source§

const KIND: KeyKind = KeyKind::NamespaceTable

Source§

impl EncodableKey for NamespaceViewKey

Source§

const KIND: KeyKind = KeyKind::NamespaceView

Source§

impl EncodableKey for OperatorSettingsKey

Source§

const KIND: KeyKind = KeyKind::OperatorSettings

Source§

impl EncodableKey for PolicyKey

Source§

const KIND: KeyKind = KeyKind::Policy

Source§

impl EncodableKey for PolicyOpKey

Source§

const KIND: KeyKind = KeyKind::PolicyOp

Source§

impl EncodableKey for PrimaryKeyKey

Source§

const KIND: KeyKind = KeyKind::PrimaryKey

Source§

impl EncodableKey for ProcedureKey

Source§

const KIND: KeyKind = KeyKind::Procedure

Source§

impl EncodableKey for ProcedureParamKey

Source§

const KIND: KeyKind = KeyKind::ProcedureParam

Source§

impl EncodableKey for ColumnPropertyKey

Source§

const KIND: KeyKind = KeyKind::ColumnProperty

Source§

impl EncodableKey for OperatorRetentionStrategyKey

Source§

const KIND: KeyKind = KeyKind::OperatorRetentionStrategy

Source§

impl EncodableKey for ShapeRetentionStrategyKey

Source§

const KIND: KeyKind = KeyKind::ShapeRetentionStrategy

Source§

impl EncodableKey for RingBufferKey

Source§

const KIND: KeyKind = KeyKind::RingBuffer

Source§

impl EncodableKey for RingBufferMetadataKey

Source§

const KIND: KeyKind = KeyKind::RingBufferMetadata

Source§

impl EncodableKey for RoleKey

Source§

const KIND: KeyKind = KeyKind::Role

Source§

impl EncodableKey for RowKey

Source§

const KIND: KeyKind = KeyKind::Row

Source§

impl EncodableKey for RowSequenceKey

Source§

const KIND: KeyKind = KeyKind::RowSequence

Source§

impl EncodableKey for RowSettingsKey

Source§

const KIND: KeyKind = KeyKind::RowSettings

Source§

impl EncodableKey for SeriesKey

Source§

const KIND: KeyKind = KeyKind::Series

Source§

impl EncodableKey for SeriesMetadataKey

Source§

const KIND: KeyKind = KeyKind::SeriesMetadata

Source§

impl EncodableKey for SeriesRowKey

Source§

const KIND: KeyKind = KeyKind::Row

Source§

impl EncodableKey for RowShapeFieldKey

Source§

const KIND: KeyKind = KeyKind::RowShapeField

Source§

impl EncodableKey for RowShapeKey

Source§

const KIND: KeyKind = KeyKind::Shape

Source§

impl EncodableKey for SinkKey

Source§

const KIND: KeyKind = KeyKind::Sink

Source§

impl EncodableKey for SourceKey

Source§

const KIND: KeyKind = KeyKind::Source

Source§

impl EncodableKey for SumTypeKey

Source§

const KIND: KeyKind = KeyKind::SumType

Source§

impl EncodableKey for SystemSequenceKey

Source§

const KIND: KeyKind = KeyKind::SystemSequence

Source§

impl EncodableKey for SystemVersionKey

Source§

const KIND: KeyKind = KeyKind::SystemVersion

Source§

impl EncodableKey for TableKey

Source§

const KIND: KeyKind = KeyKind::Table

Source§

impl EncodableKey for TokenKey

Source§

const KIND: KeyKind = KeyKind::Token

Source§

impl EncodableKey for TransactionVersionKey

Source§

const KIND: KeyKind = KeyKind::TransactionVersion

Source§

impl EncodableKey for VariantHandlerKey

Source§

const KIND: KeyKind = KeyKind::VariantHandler

Source§

impl EncodableKey for ViewKey

Source§

const KIND: KeyKind = KeyKind::View