Skip to main content

TypeName

Trait TypeName 

Source
pub trait TypeName {
    // Required method
    fn type_name() -> &'static str;
}
Expand description

Gets a friendly name of the implementing type.

Required Methods§

Source

fn type_name() -> &'static str

The friendly name of the implementing type.

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.

Implementations on Foreign Types§

Source§

impl TypeName for KeyClient

Source§

fn type_name() -> &'static str

Source§

impl TypeName for SecretClient

Source§

fn type_name() -> &'static str

Implementors§