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().send("GET").await.unwrap().body_string().await.unwrap().print();
source

fn println(&self)

let get = async move |url:&str|url.to_string().send("GET").await.unwrap().body_string().await.unwrap().println();

Implementations on Foreign Types§

source§

impl Print for String

source§

fn print(&self)

source§

fn println(&self)

Implementors§