common_meta::key

Trait MetadataKey

source
pub trait MetadataKey<'a, T> {
    // Required methods
    fn to_bytes(&self) -> Vec<u8> ;
    fn from_bytes(bytes: &'a [u8]) -> Result<T>;
}
Expand description

The key of metadata.

Required Methods§

source

fn to_bytes(&self) -> Vec<u8>

source

fn from_bytes(bytes: &'a [u8]) -> Result<T>

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 MetadataKey<'_, DatanodeTableKey> for DatanodeTableKey

source§

impl MetadataKey<'_, NodeAddressKey> for NodeAddressKey

source§

impl MetadataKey<'_, TableInfoKey> for TableInfoKey

source§

impl MetadataKey<'_, TableRouteKey> for TableRouteKey

source§

impl MetadataKey<'_, ViewInfoKey> for ViewInfoKey

source§

impl<'a> MetadataKey<'a, CatalogNameKey<'a>> for CatalogNameKey<'_>

source§

impl<'a> MetadataKey<'a, FlowInfoKey> for FlowInfoKey

source§

impl<'a> MetadataKey<'a, FlowInfoKeyInner> for FlowInfoKeyInner

source§

impl<'a> MetadataKey<'a, FlowNameKey<'a>> for FlowNameKey<'a>

source§

impl<'a> MetadataKey<'a, FlowNameKeyInner<'a>> for FlowNameKeyInner<'_>

source§

impl<'a> MetadataKey<'a, FlowRouteKey> for FlowRouteKey

source§

impl<'a> MetadataKey<'a, FlowRouteKeyInner> for FlowRouteKeyInner

source§

impl<'a> MetadataKey<'a, FlowStateKey> for FlowStateKey

source§

impl<'a> MetadataKey<'a, FlowStateKeyInner> for FlowStateKeyInner

source§

impl<'a> MetadataKey<'a, FlownodeFlowKey> for FlownodeFlowKey

source§

impl<'a> MetadataKey<'a, FlownodeFlowKeyInner> for FlownodeFlowKeyInner

source§

impl<'a> MetadataKey<'a, TableFlowKey> for TableFlowKey

source§

impl<'a> MetadataKey<'a, TableFlowKeyInner> for TableFlowKeyInner

source§

impl<'a> MetadataKey<'a, SchemaNameKey<'a>> for SchemaNameKey<'_>

source§

impl<'a> MetadataKey<'a, BytesAdapter> for BytesAdapter

source§

impl<'a> MetadataKey<'a, TableNameKey<'a>> for TableNameKey<'_>

source§

impl<'a, T: MetadataKey<'a, T>> MetadataKey<'a, FlowScoped<T>> for FlowScoped<T>