#[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 get_local_domain_info(&self) -> &Option<DomainInformationContainer>
pub fn get_local_domain_info(&self) -> &Option<DomainInformationContainer>
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 get_remote_domain_info(&self) -> &Option<DomainInformationContainer>
pub fn get_remote_domain_info(&self) -> &Option<DomainInformationContainer>
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 get_connection_id(&self) -> &Option<String>
pub fn get_connection_id(&self) -> &Option<String>
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 get_connection_alias(&self) -> &Option<String>
pub fn get_connection_alias(&self) -> &Option<String>
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 get_connection_status(&self) -> &Option<OutboundConnectionStatus>
pub fn get_connection_status(&self) -> &Option<OutboundConnectionStatus>
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 get_connection_mode(&self) -> &Option<ConnectionMode>
pub fn get_connection_mode(&self) -> &Option<ConnectionMode>
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 get_connection_properties(&self) -> &Option<ConnectionProperties>
pub fn get_connection_properties(&self) -> &Option<ConnectionProperties>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for OutboundConnectionBuilder
impl PartialEq for OutboundConnectionBuilder
source§fn eq(&self, other: &OutboundConnectionBuilder) -> bool
fn eq(&self, other: &OutboundConnectionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OutboundConnectionBuilder
Auto Trait Implementations§
impl Freeze for OutboundConnectionBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more