Trait surf_header::utils::Print

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