pub struct ConnectOptions {
pub preferred_url: Option<String>,
pub probe: ProbeOptions,
pub timeout: Duration,
}Expand description
How HttpTransport::connect picks a server address.
Fields§
§preferred_url: Option<String>The URL that worked last time, cached by the app: tried first.
probe: ProbeOptions§timeout: DurationRequest timeout.
Trait Implementations§
Source§impl Clone for ConnectOptions
impl Clone for ConnectOptions
Source§impl Debug for ConnectOptions
impl Debug for ConnectOptions
Source§impl Default for ConnectOptions
impl Default for ConnectOptions
impl Eq for ConnectOptions
Source§impl PartialEq for ConnectOptions
impl PartialEq for ConnectOptions
impl StructuralPartialEq for ConnectOptions
Auto Trait Implementations§
impl Forget for ConnectOptions
impl Freeze for ConnectOptions
impl Move for ConnectOptions
impl RefUnwindSafe for ConnectOptions
impl Send for ConnectOptionswhere
RawVecInner: Send,
impl Sync for ConnectOptionswhere
RawVecInner: Sync,
impl Unpin for ConnectOptions
impl UnsafeUnpin for ConnectOptions
impl UnwindSafe for ConnectOptionswhere
RawVecInner: UnwindSafe,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.