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", so this trait is not object safe.

Implementors§

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 ColumnPolicyKey

Source§

const KIND: KeyKind = KeyKind::ColumnPolicy

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 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 FlowEdgeByFlowKey

Source§

const KIND: KeyKind = KeyKind::FlowEdgeByFlow

Source§

impl EncodableKey for FlowEdgeKey

Source§

const KIND: KeyKind = KeyKind::FlowEdge

Source§

impl EncodableKey for FlowKey

Source§

const KIND: KeyKind = KeyKind::Flow

Source§

impl EncodableKey for FlowNodeByFlowKey

Source§

const KIND: KeyKind = KeyKind::FlowNodeByFlow

Source§

impl EncodableKey for FlowNodeInternalStateKey

Source§

const KIND: KeyKind = KeyKind::FlowNodeInternalState

Source§

impl EncodableKey for FlowNodeKey

Source§

const KIND: KeyKind = KeyKind::FlowNode

Source§

impl EncodableKey for FlowNodeStateKey

Source§

const KIND: KeyKind = KeyKind::FlowNodeState

Source§

impl EncodableKey for IndexEntryKey

Source§

const KIND: KeyKind = KeyKind::IndexEntry

Source§

impl EncodableKey for IndexKey

Source§

const KIND: KeyKind = KeyKind::Index

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 NamespaceKey

Source§

const KIND: KeyKind = KeyKind::Namespace

Source§

impl EncodableKey for NamespaceRingBufferKey

Source§

const KIND: KeyKind = KeyKind::NamespaceRingBuffer

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 OperatorRetentionPolicyKey

Source§

const KIND: KeyKind = KeyKind::OperatorRetentionPolicy

Source§

impl EncodableKey for PrimaryKeyKey

Source§

const KIND: KeyKind = KeyKind::PrimaryKey

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 RowKey

Source§

const KIND: KeyKind = KeyKind::Row

Source§

impl EncodableKey for RowSequenceKey

Source§

const KIND: KeyKind = KeyKind::RowSequence

Source§

impl EncodableKey for SourceRetentionPolicyKey

Source§

const KIND: KeyKind = KeyKind::SourceRetentionPolicy

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 TransactionVersionKey

Source§

const KIND: KeyKind = KeyKind::TransactionVersion

Source§

impl EncodableKey for ViewKey

Source§

const KIND: KeyKind = KeyKind::View