Trait magnus::try_convert::TryConvertOwned
source · pub unsafe trait TryConvertOwned: TryConvert { }
Expand description
Conversions from Value
to Rust types that do not contain Value
.
This trait is used as a bound on some implementations of TryConvert
(for example, for Vec
) to prevent heap allocated datastructures
containing Value
, as it is not safe to store a Value
on the heap.
§Safety
This trait must not be implemented for types that contain Value
.
Object Safety§
This trait is not object safe.