Client

Trait Client 

Source
pub trait Client {
    // Required methods
    fn result(&self) -> SpeedTestResult;
    fn ping(&mut self) -> bool;
    fn upload(&mut self) -> bool;
    fn download(&mut self) -> bool;

    // Provided method
    fn run(&mut self) -> bool { ... }
}

Required Methods§

Source

fn result(&self) -> SpeedTestResult

Source

fn ping(&mut self) -> bool

Source

fn upload(&mut self) -> bool

Source

fn download(&mut self) -> bool

Provided Methods§

Source

fn run(&mut self) -> bool

Implementors§