pub enum MotionSource {
Telemetry,
Inferred {
confidence: f32,
},
External,
None,
}Expand description
How the current motion state was determined.
Critical for downstream trust decisions — telemetry-sourced motion is more trustworthy than inferred motion from noisy optical flow.
Variants§
Telemetry
Determined from PTZ telemetry (ONVIF, serial, etc.).
Inferred
Inferred from video analysis (optical flow, feature matching, homography).
External
From a user-supplied external system.
None
No motion information available for this frame.
Trait Implementations§
Source§impl Clone for MotionSource
impl Clone for MotionSource
Source§fn clone(&self) -> MotionSource
fn clone(&self) -> MotionSource
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 MotionSource
impl Debug for MotionSource
Source§impl PartialEq for MotionSource
impl PartialEq for MotionSource
impl StructuralPartialEq for MotionSource
Auto Trait Implementations§
impl Freeze for MotionSource
impl RefUnwindSafe for MotionSource
impl Send for MotionSource
impl Sync for MotionSource
impl Unpin for MotionSource
impl UnsafeUnpin for MotionSource
impl UnwindSafe for MotionSource
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