pub trait PrimaryKey<'a>: Clone {
    type Prefix: Prefixer<'a>;
    type SubPrefix: Prefixer<'a>;

    fn key(&self) -> Vec<&[u8]>;

    fn joined_key(&self) -> Vec<u8> { ... }
}

Required Associated Types

Required Methods

returns a slice of key steps, which can be optionally combined

Provided Methods

Implementations on Foreign Types

type safe version to ensure address was validated before use.

owned variant.

Implementors