pub struct ExecuteConfig { /* private fields */ }Implementations§
Source§impl ExecuteConfig
impl ExecuteConfig
pub fn with_max_retries(self, max_retries: u32) -> Result<Self, Error>
pub fn with_base_delay(self, delay_ms: u64) -> Result<Self, Error>
pub fn with_max_delay(self, max_delay_ms: u64) -> Result<Self, Error>
pub fn max_retries(&self) -> u32
pub fn retry_delay(&self) -> &RetryDelay
Trait Implementations§
Source§impl Clone for ExecuteConfig
impl Clone for ExecuteConfig
Source§fn clone(&self) -> ExecuteConfig
fn clone(&self) -> ExecuteConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecuteConfig
impl Debug for ExecuteConfig
Auto Trait Implementations§
impl Freeze for ExecuteConfig
impl RefUnwindSafe for ExecuteConfig
impl Send for ExecuteConfig
impl Sync for ExecuteConfig
impl Unpin for ExecuteConfig
impl UnwindSafe for ExecuteConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request