Struct aws_sdk_mediaconnect::types::FailoverConfig
source · #[non_exhaustive]pub struct FailoverConfig {
pub failover_mode: Option<FailoverMode>,
pub recovery_window: Option<i32>,
pub source_priority: Option<SourcePriority>,
pub state: Option<State>,
}
Expand description
The settings for source failover.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.failover_mode: 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.
recovery_window: Option<i32>
Search window time to look for dash-7 packets
source_priority: 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.
state: Option<State>
Implementations§
source§impl FailoverConfig
impl FailoverConfig
sourcepub fn failover_mode(&self) -> Option<&FailoverMode>
pub fn 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) -> Option<i32>
pub fn recovery_window(&self) -> Option<i32>
Search window time to look for dash-7 packets
sourcepub fn source_priority(&self) -> Option<&SourcePriority>
pub fn 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) -> Option<&State>
source§impl FailoverConfig
impl FailoverConfig
sourcepub fn builder() -> FailoverConfigBuilder
pub fn builder() -> FailoverConfigBuilder
Creates a new builder-style object to manufacture FailoverConfig
.
Trait Implementations§
source§impl Clone for FailoverConfig
impl Clone for FailoverConfig
source§fn clone(&self) -> FailoverConfig
fn clone(&self) -> FailoverConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FailoverConfig
impl Debug for FailoverConfig
source§impl PartialEq for FailoverConfig
impl PartialEq for FailoverConfig
source§fn eq(&self, other: &FailoverConfig) -> bool
fn eq(&self, other: &FailoverConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FailoverConfig
Auto Trait Implementations§
impl Freeze for FailoverConfig
impl RefUnwindSafe for FailoverConfig
impl Send for FailoverConfig
impl Sync for FailoverConfig
impl Unpin for FailoverConfig
impl UnwindSafe for FailoverConfig
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