Skip to main content

ExtensionTrait

Trait ExtensionTrait 

Source
pub trait ExtensionTrait: Display {
    // Required method
    fn get_object(&self) -> &'static str;
}
Expand description

A trait for getting information about an extension type

Required Methods§

Source

fn get_object(&self) -> &'static str

Get extension object name

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§