pub struct RealTimeProcessingConfig {
pub enabled: bool,
pub target_fps: f64,
pub max_latency: Duration,
pub buffer_management: BufferManagementConfig,
pub adaptive_quality: AdaptiveQualityConfig,
pub streaming: StreamingConfig,
pub performance_monitoring: PerformanceMonitoringConfig,
pub error_handling: RealTimeErrorHandling,
}Expand description
Real-time processing configuration for computer vision
Fields§
§enabled: boolEnable real-time processing
target_fps: f64Target frame rate (fps)
max_latency: DurationMaximum acceptable latency
buffer_management: BufferManagementConfigBuffer management configuration
adaptive_quality: AdaptiveQualityConfigAdaptive quality configuration
streaming: StreamingConfigStreaming configuration
performance_monitoring: PerformanceMonitoringConfigPerformance monitoring
error_handling: RealTimeErrorHandlingError handling for real-time scenarios
Implementations§
Source§impl RealTimeProcessingConfig
impl RealTimeProcessingConfig
Sourcepub fn low_latency() -> Self
pub fn low_latency() -> Self
Create configuration for low-latency applications
Sourcepub fn high_quality_streaming() -> Self
pub fn high_quality_streaming() -> Self
Create configuration for high-quality streaming
Sourcepub fn mobile_optimized() -> Self
pub fn mobile_optimized() -> Self
Create configuration for mobile/constrained environments
Sourcepub fn validate(&self) -> Result<(), RealTimeError>
pub fn validate(&self) -> Result<(), RealTimeError>
Validate configuration for consistency
Trait Implementations§
Source§impl Clone for RealTimeProcessingConfig
impl Clone for RealTimeProcessingConfig
Source§fn clone(&self) -> RealTimeProcessingConfig
fn clone(&self) -> RealTimeProcessingConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RealTimeProcessingConfig
impl Debug for RealTimeProcessingConfig
Source§impl Default for RealTimeProcessingConfig
impl Default for RealTimeProcessingConfig
Source§impl<'de> Deserialize<'de> for RealTimeProcessingConfig
impl<'de> Deserialize<'de> for RealTimeProcessingConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RealTimeProcessingConfig
impl RefUnwindSafe for RealTimeProcessingConfig
impl Send for RealTimeProcessingConfig
impl Sync for RealTimeProcessingConfig
impl Unpin for RealTimeProcessingConfig
impl UnwindSafe for RealTimeProcessingConfig
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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