pub fn with_max_retries<M: Into<Option<u32>>>(
        mut self,
        max_retries: M,
    ) -> Self {
        self.max_retries = max_retries.into();
        self
    }
/// Specify a max number of retries before giving up
/// None for unlimited retries
Specify a max number of retries before giving up
None for unlimited retries
Specify a max number of retries before giving up None for unlimited retries
pub fn with_max_retries<M: Into<Option<u32>>>(
        mut self,
        max_retries: M,
    ) -> Self {
        self.max_retries = max_retries.into();
        self
    }
pub fn with_max_retries < M : Into < Option < u32 > > > ( mut self , max_retries : M , ) -> Self { self . max_retries = max_retries . into ( ) ; self }
Specify a max number of retries before giving up
None for unlimited retries
Specify a max number of retries before giving up None for unlimited retries
mut self
max_retries
M