ptah::de

Trait DeserializeOwned

Source
pub trait DeserializeOwned: for<'de> Deserialize<'de> { }
Expand description

A type implements DeserializeOwned if it does not borrow any data out of the buffer. In other words, it can be deserialized for any buffer lifetime.

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<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,