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 ==.