[][src]Trait s3_algo::timeout::Timeout

pub trait Timeout: Send + 'static {
    fn get_timeout(&self, bytes: u64, retries: usize) -> Duration;
fn update(&mut self, _: &RequestReport);
fn get_estimate(&self) -> f64; }

Required methods

fn get_timeout(&self, bytes: u64, retries: usize) -> Duration

fn update(&mut self, _: &RequestReport)

fn get_estimate(&self) -> f64

get estimated upload speed

Loading content...

Implementors

impl Timeout for TimeoutState[src]

Loading content...