Trait patricia_tree::Bytes

source ·
pub trait Bytes {
    type Borrowed: ?Sized + BorrowedBytes + ToOwned<Owned = Self>;
}
Expand description

This trait represents a bytes type that can be used as the key type of patricia trees.

Required Associated Types§

source

type Borrowed: ?Sized + BorrowedBytes + ToOwned<Owned = Self>

Borrowed type of this type.

Implementations on Foreign Types§

source§

impl Bytes for String

source§

impl Bytes for Vec<u8>

§

type Borrowed = [u8]

Implementors§