pub fn set_timeout(&mut self, duration: Duration) {
        self.instance_metadata_provider.set_timeout(duration);
        self.container_provider.set_timeout(duration);
    }
Set the timeout on the provider to the specified duration.
rusoto/credential/src/lib.rs