Skip to main content

KeyObjectDecode

Trait KeyObjectDecode 

Source
pub trait KeyObjectDecode: Sized {
    const KEYSIZE: usize = _;

    // Required method
    fn key_decode(val: &[u8]) -> Result<Self, MDBXDeriveError>;
}

Provided Associated Constants§

Source

const KEYSIZE: usize = _

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl KeyObjectDecode for i8

Source§

impl KeyObjectDecode for i16

Source§

impl KeyObjectDecode for i32

Source§

impl KeyObjectDecode for i64

Source§

impl KeyObjectDecode for u8

Source§

impl KeyObjectDecode for u16

Source§

impl KeyObjectDecode for u32

Source§

impl KeyObjectDecode for u64

Source§

impl KeyObjectDecode for ()

Source§

impl<const N: usize> KeyObjectDecode for [u8; N]

Implementors§