pub trait JsonPointerTarget<'a>: Sized {
// Required method
fn from_pointee(
pointee: &'a dyn JsonPointee,
) -> Result<Self, JsonPointerTargetError>;
}Expand description
Extracts a typed value from a JsonPointee.
Required Methods§
Sourcefn from_pointee(
pointee: &'a dyn JsonPointee,
) -> Result<Self, JsonPointerTargetError>
fn from_pointee( pointee: &'a dyn JsonPointee, ) -> Result<Self, JsonPointerTargetError>
Tries to extract Self from a resolved pointee.
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.