pub struct Options {
pub workers: Vec<SocketAddr>,
pub key_file: PathBuf,
pub timeout: Duration,
pub retries: u8,
}Expand description
Explicit coordinator endpoints and resource policy. Key bytes are read from the named local file and never included in reports, arguments or Debug values.
Fields§
§workers: Vec<SocketAddr>Explicit trusted worker listeners; at least two distinct endpoints.
key_file: PathBufLocal path to the shared 32-byte authentication secret.
timeout: DurationPer-network-operation and per-worker-unit bound.
retries: u8Retries of an uncommitted pure source after connection loss, at most eight.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Options
impl Freeze for Options
impl Move for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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