pub struct CommandsClientConfig {
pub timeout: Duration,
pub poll_interval: Duration,
pub max_poll_interval: Duration,
pub poll_backoff: f64,
pub allow_local_storage: bool,
}Expand description
Configuration for the commands client.
Fields§
§timeout: DurationCommand timeout (default: 60s)
poll_interval: DurationPolling interval (default: 500ms)
max_poll_interval: DurationMax polling interval (default: 5s)
poll_backoff: f64Backoff multiplier (default: 1.5)
allow_local_storage: boolAllow local file:// storage backends (dev only)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommandsClientConfig
impl RefUnwindSafe for CommandsClientConfig
impl Send for CommandsClientConfig
impl Sync for CommandsClientConfig
impl Unpin for CommandsClientConfig
impl UnsafeUnpin for CommandsClientConfig
impl UnwindSafe for CommandsClientConfig
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