Trait elephantry::ToText

source ·
pub trait ToText {
    // Required method
    fn to_text(&self) -> Result<String>;

    // Provided method
    fn error(&self, message: &str) -> Error { ... }
}

Required Methods§

Provided Methods§

source

fn error(&self, message: &str) -> Error

Implementors§

source§

impl ToText for elephantry::inspect::constraint::Type

Available on crate feature inspect only.
source§

impl ToText for Kind

Available on crate feature inspect only.
source§

impl ToText for Persistence

Available on crate feature inspect only.
source§

impl ToText for elephantry::inspect::Type

Available on crate feature inspect only.