pub trait Deserializable: 'static {
    // Required method
    fn name() -> &'static str;
}
Expand description

A trait implemented by traits which are deserializable.

Required Methods§

source

fn name() -> &'static str

Returns a name for objects implementing the trait suitable for display in error messages.

For example, the Deserializable implementation for the Append trait returns “appender”.

Object Safety§

This trait is not object safe.

Implementors§