pub struct ConsulGatewayProxyBuilder { /* private fields */ }
Expand description
Builder for ConsulGatewayProxy
.
Implementations§
Source§impl ConsulGatewayProxyBuilder
impl ConsulGatewayProxyBuilder
pub fn connect_timeout(&mut self, value: Option<TimeDelta>) -> &mut Self
pub fn envoy_gateway_bind_tagged_addresses( &mut self, value: Option<bool>, ) -> &mut Self
pub fn envoy_gateway_bind_addresses( &mut self, value: Option<HashMap<String, ConsulGatewayBindAddress>>, ) -> &mut Self
pub fn envoy_gateway_no_default_bind( &mut self, value: Option<bool>, ) -> &mut Self
pub fn envoy_dns_discovery_type(&mut self, value: Option<String>) -> &mut Self
pub fn config(&mut self, value: HashMap<String, Value>) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<ConsulGatewayProxy, ConsulGatewayProxyBuilderError>
pub fn build( &self, ) -> Result<ConsulGatewayProxy, ConsulGatewayProxyBuilderError>
Trait Implementations§
Source§impl Clone for ConsulGatewayProxyBuilder
impl Clone for ConsulGatewayProxyBuilder
Source§fn clone(&self) -> ConsulGatewayProxyBuilder
fn clone(&self) -> ConsulGatewayProxyBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ConsulGatewayProxyBuilder
impl RefUnwindSafe for ConsulGatewayProxyBuilder
impl Send for ConsulGatewayProxyBuilder
impl Sync for ConsulGatewayProxyBuilder
impl Unpin for ConsulGatewayProxyBuilder
impl UnwindSafe for ConsulGatewayProxyBuilder
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