Skip to main content

EventMode

Trait EventMode 

Source
pub trait EventMode: ReceiverMode + EventSealed { }
Expand description

Sealed receiver mode permitting event polling: RawCapture.

Native FrameSync and AV sync can consume status notifications before an attached receiver observes them. Attached receivers therefore use capability getters, Receiver::wait_for_source_name_change, Receiver::is_connected and Receiver::connection_stats rather than event polling.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§