pub trait BorrowStorable: Borrow<Self::Stored> {
    type Stored: ?Sized + Storable + ToOwned<Owned = Self>;
}
Expand description

Types that can be borrowed as a type that is Storable

Automatically implemented for:

Required Associated Types§

source

type Stored: ?Sized + Storable + ToOwned<Owned = Self>

Borrowed Storable type

Implementations on Foreign Types§

source§

impl<T> BorrowStorable for Vec<T>where [T]: Storable + ToOwned<Owned = Self>,

§

type Stored = [T]

source§

impl BorrowStorable for String

§

type Stored = str

Implementors§

source§

impl<T> BorrowStorable for Twhere T: Storable + ToOwned<Owned = Self>,

§

type Stored = T