Property

Trait Property 

Source
pub trait Property<T>: Sized {
    // Required method
    fn get(target: &T) -> Result<Self, ErrorCode>;
}
Expand description

Property interface

Required Methods§

Source

fn get(target: &T) -> Result<Self, ErrorCode>

Gets instance of self from the `target

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§