pub trait WrapperTypeDecode: Sized {
    type Wrapped: Into<Self>;
}
Expand description

A marker trait for types that can be created solely from other decodable types.

The decoding of such type is assumed to be the same as the wrapped type.

Required Associated Types§

source

type Wrapped: Into<Self>

A wrapped type.

Implementations on Foreign Types§

source§

impl<T> WrapperTypeDecode for Rc<T>

§

type Wrapped = T

source§

impl<T> WrapperTypeDecode for Box<T>

§

type Wrapped = T

source§

impl<T> WrapperTypeDecode for Arc<T>

§

type Wrapped = T

Implementors§