Enum ginepro::ResolutionStrategy [−][src]
pub enum ResolutionStrategy {
Lazy,
Eager {
timeout: Duration,
},
}
Expand description
Enumerates the different domain name resolution strategies that
the LoadBalancedChannelBuilder
supports.
Variants
Creates the channel without attempting to resolve a set of initial IPs.
Tries to resolve the domain name before creating the channel in order to start with a non-empty set of IPs.
Fields of Eager
timeout: Duration
Auto Trait Implementations
impl RefUnwindSafe for ResolutionStrategy
impl Send for ResolutionStrategy
impl Sync for ResolutionStrategy
impl Unpin for ResolutionStrategy
impl UnwindSafe for ResolutionStrategy
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more