DecodeOwned

Trait DecodeOwned 

Source
pub trait DecodeOwned<M, A>: for<'de> Decode<'de, M, A>
where A: Allocator,
{ }
Expand description

Decode to an owned value.

This is a simpler bound to use than for<'de> Decode<'de, M, A>.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<M, D, A> DecodeOwned<M, A> for D
where D: for<'de> Decode<'de, M, A>, A: Allocator,