Skip to main content

Object

Trait Object 

Source
pub trait Object: Send {
    // Required methods
    fn id(&self) -> &str;
    fn object_type(&self) -> ObjectType;
}

Required Methods§

Source

fn id(&self) -> &str

Source

fn object_type(&self) -> ObjectType

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§