Struct nakadion::consumer::CommitRetryIntervalMultiplier [−][src]
pub struct CommitRetryIntervalMultiplier(_);
Expand description
The multiplier for the delay increase between retries.
Default is 1.5 (+50%).
Implementations
The default name of the environment variable for this type. The name of the environment variable is “ COMMIT_RETRY_INTERVAL_MULTIPLIER “
Initialize from the environment.
Returns None
if the value was not found and fails if the value could not be parsed.
The name of the environment variable is “NAKADION_
COMMIT_RETRY_INTERVAL_MULTIPLIER
“
Initialize from the environment.
Returns None
if the value was not found and fails if the value could not be parsed.
The name of the environment variable is “prefix
_
COMMIT_RETRY_INTERVAL_MULTIPLIER
“
The underscore and prefix will be omitted if prefix is empty.
Initialize from the environment.
Returns None
if the value was not found and fails if the value could not be parsed.
The name of the environment variable is var_name
.
Initialize from the environment.
Returns None
if the value was not found and fails if the value could not be parsed.
The name of the environment variable is “
COMMIT_RETRY_INTERVAL_MULTIPLIER
“
Initialize from the environment. Fails if the value was not found or if the value could not be parsed. The name of the environment variable is “NAKADION_ COMMIT_RETRY_INTERVAL_MULTIPLIER “
Initialize from the environment.
Fails if the value was not found or if the value could not be parsed.
The name of the environment variable is “prefix
_
COMMIT_RETRY_INTERVAL_MULTIPLIER
“
The underscore and prefix will be omitted if prefix is empty.
Initialize from the environment.
Fails if the value was not found or if the value could not be parsed.
The name of the environment variable is var_name
.
Initialize from the environment. Fails if the value was not found or if the value could not be parsed. The name of the environment variable is “ COMMIT_RETRY_INTERVAL_MULTIPLIER “
Initialize from the environment.
Returns None
if the value could not be read for any reason.
The name of the environment variable is “NAKADION_
COMMIT_RETRY_INTERVAL_MULTIPLIER
“
Initialize from the environment.
Returns None
if the value could not be read for any reason.
The name of the environment variable is “prefix
_
COMMIT_RETRY_INTERVAL_MULTIPLIER
“
The underscore and prefix will be omitted if prefix is empty.
Initialize from the environment.
Returns None
if the value could not be read for any reason.
The name of the environment variable is var_name
.
Initialize from the environment.
Returns None
if the value could not be read for any reason.
The name of the environment variable is “
COMMIT_RETRY_INTERVAL_MULTIPLIER
“
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for CommitRetryIntervalMultiplier
impl Sync for CommitRetryIntervalMultiplier
impl Unpin for CommitRetryIntervalMultiplier
impl UnwindSafe for CommitRetryIntervalMultiplier
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more