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

Required Methods§

source

fn print(&self)

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

fn println(&self)

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

Implementors§

source§

impl<T> DebugPrint for Twhere T: Debug,