pub trait KeyCodec<S: Schema + ?Sized>: KeyEncoder<S> + KeyDecoder<S> { }
Expand description

This trait defines a type that can serve as a Schema::Key.

Implementors§

source§

impl<T, S: Schema + ?Sized> KeyCodec<S> for Twhere T: KeyEncoder<S> + KeyDecoder<S>,