pub enum CameraMode {
Fixed,
Observed,
}Expand description
Declared camera installation mode.
This is a required field on feed configuration — there is no default. The mode determines whether the view system is engaged.
See the architecture docs §9 for full details on why this is required.
Variants§
Fixed
Camera is physically fixed (bolted mount, no PTZ, no gimbal).
The view system is bypassed entirely. No ViewStateProvider is needed.
CameraMotionState is always Stable, MotionSource is always None.
Observed
Camera may move (PTZ, gimbal, handheld, vehicle-mounted, drone, etc.).
A ViewStateProvider is required. If the provider returns no data,
the view system defaults to CameraMotionState::Unknown and
ContextValidity::Degraded — never to Stable.
Trait Implementations§
Source§impl Clone for CameraMode
impl Clone for CameraMode
Source§fn clone(&self) -> CameraMode
fn clone(&self) -> CameraMode
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 CameraMode
impl Debug for CameraMode
Source§impl PartialEq for CameraMode
impl PartialEq for CameraMode
impl Copy for CameraMode
impl Eq for CameraMode
impl StructuralPartialEq for CameraMode
Auto Trait Implementations§
impl Freeze for CameraMode
impl RefUnwindSafe for CameraMode
impl Send for CameraMode
impl Sync for CameraMode
impl Unpin for CameraMode
impl UnsafeUnpin for CameraMode
impl UnwindSafe for CameraMode
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