Trait surf_header::utils::Print

source ·
pub trait Print {
    // 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().eprint();
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> Print for Twhere T: Display,