#[non_exhaustive]pub struct OutboundConnectionBuilder { /* private fields */ }Expand description
A builder for OutboundConnection.
Implementations§
source§impl OutboundConnectionBuilder
impl OutboundConnectionBuilder
sourcepub fn local_domain_info(self, input: DomainInformationContainer) -> Self
pub fn local_domain_info(self, input: DomainInformationContainer) -> Self
Information about the source (local) domain.
sourcepub fn set_local_domain_info(
self,
input: Option<DomainInformationContainer>
) -> Self
pub fn set_local_domain_info( self, input: Option<DomainInformationContainer> ) -> Self
Information about the source (local) domain.
sourcepub fn remote_domain_info(self, input: DomainInformationContainer) -> Self
pub fn remote_domain_info(self, input: DomainInformationContainer) -> Self
Information about the destination (remote) domain.
sourcepub fn set_remote_domain_info(
self,
input: Option<DomainInformationContainer>
) -> Self
pub fn set_remote_domain_info( self, input: Option<DomainInformationContainer> ) -> Self
Information about the destination (remote) domain.
sourcepub fn connection_id(self, input: impl Into<String>) -> Self
pub fn connection_id(self, input: impl Into<String>) -> Self
Unique identifier of the connection.
sourcepub fn set_connection_id(self, input: Option<String>) -> Self
pub fn set_connection_id(self, input: Option<String>) -> Self
Unique identifier of the connection.
sourcepub fn connection_alias(self, input: impl Into<String>) -> Self
pub fn connection_alias(self, input: impl Into<String>) -> Self
Name of the connection.
sourcepub fn set_connection_alias(self, input: Option<String>) -> Self
pub fn set_connection_alias(self, input: Option<String>) -> Self
Name of the connection.
sourcepub fn connection_status(self, input: OutboundConnectionStatus) -> Self
pub fn connection_status(self, input: OutboundConnectionStatus) -> Self
Status of the connection.
sourcepub fn set_connection_status(
self,
input: Option<OutboundConnectionStatus>
) -> Self
pub fn set_connection_status( self, input: Option<OutboundConnectionStatus> ) -> Self
Status of the connection.
sourcepub fn connection_mode(self, input: ConnectionMode) -> Self
pub fn connection_mode(self, input: ConnectionMode) -> Self
The connection mode.
sourcepub fn set_connection_mode(self, input: Option<ConnectionMode>) -> Self
pub fn set_connection_mode(self, input: Option<ConnectionMode>) -> Self
The connection mode.
sourcepub fn connection_properties(self, input: ConnectionProperties) -> Self
pub fn connection_properties(self, input: ConnectionProperties) -> Self
Properties for the outbound connection.
sourcepub fn set_connection_properties(
self,
input: Option<ConnectionProperties>
) -> Self
pub fn set_connection_properties( self, input: Option<ConnectionProperties> ) -> Self
Properties for the outbound connection.
sourcepub fn build(self) -> OutboundConnection
pub fn build(self) -> OutboundConnection
Consumes the builder and constructs a OutboundConnection.
Trait Implementations§
source§impl Clone for OutboundConnectionBuilder
impl Clone for OutboundConnectionBuilder
source§fn clone(&self) -> OutboundConnectionBuilder
fn clone(&self) -> OutboundConnectionBuilder
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 OutboundConnectionBuilder
impl Debug for OutboundConnectionBuilder
source§impl Default for OutboundConnectionBuilder
impl Default for OutboundConnectionBuilder
source§fn default() -> OutboundConnectionBuilder
fn default() -> OutboundConnectionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<OutboundConnectionBuilder> for OutboundConnectionBuilder
impl PartialEq<OutboundConnectionBuilder> for OutboundConnectionBuilder
source§fn eq(&self, other: &OutboundConnectionBuilder) -> bool
fn eq(&self, other: &OutboundConnectionBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OutboundConnectionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for OutboundConnectionBuilder
impl Send for OutboundConnectionBuilder
impl Sync for OutboundConnectionBuilder
impl Unpin for OutboundConnectionBuilder
impl UnwindSafe for OutboundConnectionBuilder
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