Struct fruently::retry_conf::RetryConf [] [src]

pub struct RetryConf { /* fields omitted */ }

You can calculate retrying interval as the following equation:

retry_interval = exp ** (multiplier + retry_counts)

see: https://github.com/jimmycuadra/retry/blob/v0.4.0/src/lib.rs#L142-L143

You can estimate to caluculate with concrete values like:

where multiplier = 5, e is exponential function.

If you specify store_file_path, fruently tries to store record(s) when failing to send into Fluent protocol implemented server.

Default values

Methods

impl RetryConf
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Debug for RetryConf
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for RetryConf
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for RetryConf
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Default for RetryConf
[src]

[src]

Returns the "default value" for a type. Read more