pub struct DnsLoadBalancingOptionsBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> DnsLoadBalancingOptionsBuilder<S>
impl<S: State> DnsLoadBalancingOptionsBuilder<S>
Sourcepub fn build(self) -> DnsLoadBalancingOptionswhere
S: IsComplete,
pub fn build(self) -> DnsLoadBalancingOptionswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn resolution_interval(
self,
value: Duration,
) -> DnsLoadBalancingOptionsBuilder<SetResolutionInterval<S>>where
S::ResolutionInterval: IsUnset,
pub fn resolution_interval(
self,
value: Duration,
) -> DnsLoadBalancingOptionsBuilder<SetResolutionInterval<S>>where
S::ResolutionInterval: IsUnset,
Sourcepub fn maybe_resolution_interval(
self,
value: Option<Duration>,
) -> DnsLoadBalancingOptionsBuilder<SetResolutionInterval<S>>where
S::ResolutionInterval: IsUnset,
pub fn maybe_resolution_interval(
self,
value: Option<Duration>,
) -> DnsLoadBalancingOptionsBuilder<SetResolutionInterval<S>>where
S::ResolutionInterval: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for DnsLoadBalancingOptionsBuilder<S>
impl<S> RefUnwindSafe for DnsLoadBalancingOptionsBuilder<S>
impl<S> Send for DnsLoadBalancingOptionsBuilder<S>
impl<S> Sync for DnsLoadBalancingOptionsBuilder<S>
impl<S> Unpin for DnsLoadBalancingOptionsBuilder<S>
impl<S> UnsafeUnpin for DnsLoadBalancingOptionsBuilder<S>
impl<S> UnwindSafe for DnsLoadBalancingOptionsBuilder<S>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request