Trait enso_flexer::prelude::logger::entry::message::Message[][src]

pub trait Message {
    fn get(self) -> String;
}
Expand description

Message that can be logged. This trait allow a wide range of input arguments and also, allows the messages to be constructed lazily, from functions.

Required methods

fn get(self) -> String[src]

Loading content...

Implementations on Foreign Types

impl<'_> Message for &'_ str[src]

pub fn get(self) -> String[src]

impl<'_> Message for &'_ String[src]

pub fn get(self) -> String[src]

impl Message for String[src]

pub fn get(self) -> String[src]

impl<'_, '_> Message for &'_ &'_ String[src]

pub fn get(self) -> String[src]

impl<'_, '_> Message for &'_ &'_ str[src]

pub fn get(self) -> String[src]

Loading content...

Implementors

impl<F, S> Message for F where
    S: Message,
    F: FnOnce() -> S, 
[src]

pub fn get(self) -> String[src]

Loading content...