#[non_exhaustive]pub struct ConnectionSettings { /* private fields */ }
Expand description
Information about the ConnectionSettings
attribute.
Implementations§
source§impl ConnectionSettings
impl ConnectionSettings
sourcepub fn idle_timeout(&self) -> Option<i32>
pub fn idle_timeout(&self) -> Option<i32>
The time, in seconds, that the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer.
source§impl ConnectionSettings
impl ConnectionSettings
sourcepub fn builder() -> ConnectionSettingsBuilder
pub fn builder() -> ConnectionSettingsBuilder
Creates a new builder-style object to manufacture ConnectionSettings
.
Trait Implementations§
source§impl Clone for ConnectionSettings
impl Clone for ConnectionSettings
source§fn clone(&self) -> ConnectionSettings
fn clone(&self) -> ConnectionSettings
Returns a copy 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 moresource§impl Debug for ConnectionSettings
impl Debug for ConnectionSettings
source§impl PartialEq<ConnectionSettings> for ConnectionSettings
impl PartialEq<ConnectionSettings> for ConnectionSettings
source§fn eq(&self, other: &ConnectionSettings) -> bool
fn eq(&self, other: &ConnectionSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectionSettings
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionSettings
impl Send for ConnectionSettings
impl Sync for ConnectionSettings
impl Unpin for ConnectionSettings
impl UnwindSafe for ConnectionSettings
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