musli_core::de

Trait DecodeOwned

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

Decode to an owned value.

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

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> DecodeOwned<M> for D
where D: for<'de> Decode<'de, M>,