Struct aws_sdk_mediaconnect::types::UpdateFailoverConfig
source · #[non_exhaustive]pub struct UpdateFailoverConfig {
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>
Recovery 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 UpdateFailoverConfig
impl UpdateFailoverConfig
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>
Recovery 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 UpdateFailoverConfig
impl UpdateFailoverConfig
sourcepub fn builder() -> UpdateFailoverConfigBuilder
pub fn builder() -> UpdateFailoverConfigBuilder
Creates a new builder-style object to manufacture UpdateFailoverConfig
.
Trait Implementations§
source§impl Clone for UpdateFailoverConfig
impl Clone for UpdateFailoverConfig
source§fn clone(&self) -> UpdateFailoverConfig
fn clone(&self) -> UpdateFailoverConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateFailoverConfig
impl Debug for UpdateFailoverConfig
source§impl PartialEq for UpdateFailoverConfig
impl PartialEq for UpdateFailoverConfig
source§fn eq(&self, other: &UpdateFailoverConfig) -> bool
fn eq(&self, other: &UpdateFailoverConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateFailoverConfig
Auto Trait Implementations§
impl Freeze for UpdateFailoverConfig
impl RefUnwindSafe for UpdateFailoverConfig
impl Send for UpdateFailoverConfig
impl Sync for UpdateFailoverConfig
impl Unpin for UpdateFailoverConfig
impl UnwindSafe for UpdateFailoverConfig
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