#[non_exhaustive]pub struct UpdateFailoverConfigBuilder { /* private fields */ }
Expand description
A builder for UpdateFailoverConfig
.
Implementations§
source§impl UpdateFailoverConfigBuilder
impl UpdateFailoverConfigBuilder
sourcepub fn failover_mode(self, input: FailoverMode) -> Self
pub fn failover_mode(self, input: FailoverMode) -> Self
The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.
sourcepub fn set_failover_mode(self, input: Option<FailoverMode>) -> Self
pub fn set_failover_mode(self, input: Option<FailoverMode>) -> Self
The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.
sourcepub fn get_failover_mode(&self) -> &Option<FailoverMode>
pub fn get_failover_mode(&self) -> &Option<FailoverMode>
The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.
sourcepub fn recovery_window(self, input: i32) -> Self
pub fn recovery_window(self, input: i32) -> Self
Recovery window time to look for dash-7 packets
sourcepub fn set_recovery_window(self, input: Option<i32>) -> Self
pub fn set_recovery_window(self, input: Option<i32>) -> Self
Recovery window time to look for dash-7 packets
sourcepub fn get_recovery_window(&self) -> &Option<i32>
pub fn get_recovery_window(&self) -> &Option<i32>
Recovery window time to look for dash-7 packets
sourcepub fn source_priority(self, input: SourcePriority) -> Self
pub fn source_priority(self, input: SourcePriority) -> Self
The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.
sourcepub fn set_source_priority(self, input: Option<SourcePriority>) -> Self
pub fn set_source_priority(self, input: Option<SourcePriority>) -> Self
The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.
sourcepub fn get_source_priority(&self) -> &Option<SourcePriority>
pub fn get_source_priority(&self) -> &Option<SourcePriority>
The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.
pub fn state(self, input: State) -> Self
pub fn set_state(self, input: Option<State>) -> Self
pub fn get_state(&self) -> &Option<State>
sourcepub fn build(self) -> UpdateFailoverConfig
pub fn build(self) -> UpdateFailoverConfig
Consumes the builder and constructs a UpdateFailoverConfig
.
Trait Implementations§
source§impl Clone for UpdateFailoverConfigBuilder
impl Clone for UpdateFailoverConfigBuilder
source§fn clone(&self) -> UpdateFailoverConfigBuilder
fn clone(&self) -> UpdateFailoverConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateFailoverConfigBuilder
impl Debug for UpdateFailoverConfigBuilder
source§impl Default for UpdateFailoverConfigBuilder
impl Default for UpdateFailoverConfigBuilder
source§fn default() -> UpdateFailoverConfigBuilder
fn default() -> UpdateFailoverConfigBuilder
source§impl PartialEq for UpdateFailoverConfigBuilder
impl PartialEq for UpdateFailoverConfigBuilder
source§fn eq(&self, other: &UpdateFailoverConfigBuilder) -> bool
fn eq(&self, other: &UpdateFailoverConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateFailoverConfigBuilder
Auto Trait Implementations§
impl Freeze for UpdateFailoverConfigBuilder
impl RefUnwindSafe for UpdateFailoverConfigBuilder
impl Send for UpdateFailoverConfigBuilder
impl Sync for UpdateFailoverConfigBuilder
impl Unpin for UpdateFailoverConfigBuilder
impl UnwindSafe for UpdateFailoverConfigBuilder
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> 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