pub trait DebugPrint {
    // Required methods
    fn print(&self);
    fn eprint(&self);
    fn println(&self);
    fn eprintln(&self);
}

Required Methods§

source

fn print(&self)

let get = async move |url:&str|url.to_string().print();
source

fn eprint(&self)

let get = async move |url:&str|url.to_string().rprint();
source

fn println(&self)

let get = async move |url:&str|url.to_string().println();
source

fn eprintln(&self)

let get = async move |url:&str|url.to_string().eprintln();

Implementors§

source§

impl<T> DebugPrint for Twhere T: Debug,