Trait e_log::core::AutoLevelRes

source ·
pub trait AutoLevelRes<T, S: Serialize> {
    // Required methods
    fn print(self, add: &str, tag: S) -> Self;
    fn eprint(self, add: &str, tag: S) -> Self;
}
Expand description

针对结果的解析打印

Required Methods§

source

fn print(self, add: &str, tag: S) -> Self

自动

source

fn eprint(self, add: &str, tag: S) -> Self

带错误

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T, S: Serialize> AutoLevelRes<T, S> for CResult<T>

source§

fn print(self, add: &str, tag: S) -> Self

source§

fn eprint(self, add: &str, tag: S) -> Self

source§

impl<T, S: Serialize> AutoLevelRes<T, S> for Result<T>

source§

fn print(self, add: &str, tag: S) -> Self

source§

fn eprint(self, add: &str, tag: S) -> Self

Implementors§