#[repr(u8)]pub enum CameraStatusTypes {
CameraStatusTypeHeartbeat = 0,
CameraStatusTypeTrigger = 1,
CameraStatusTypeDisconnect = 2,
CameraStatusTypeError = 3,
CameraStatusTypeLowbatt = 4,
CameraStatusTypeLowstore = 5,
CameraStatusTypeLowstorev = 6,
}Expand description
MAVLink enum CAMERA_STATUS_TYPES for ardupilotmega dialect.
Variants§
CameraStatusTypeHeartbeat = 0
MAVLink enum entry CAMERA_STATUS_TYPE_HEARTBEAT.
Camera heartbeat, announce camera component ID at 1Hz.
CameraStatusTypeTrigger = 1
MAVLink enum entry CAMERA_STATUS_TYPE_TRIGGER.
Camera image triggered.
CameraStatusTypeDisconnect = 2
MAVLink enum entry CAMERA_STATUS_TYPE_DISCONNECT.
Camera connection lost.
CameraStatusTypeError = 3
MAVLink enum entry CAMERA_STATUS_TYPE_ERROR.
Camera unknown error.
CameraStatusTypeLowbatt = 4
MAVLink enum entry CAMERA_STATUS_TYPE_LOWBATT.
Camera battery low. Parameter p1 shows reported voltage.
CameraStatusTypeLowstore = 5
MAVLink enum entry CAMERA_STATUS_TYPE_LOWSTORE.
Camera storage low. Parameter p1 shows reported shots remaining.
CameraStatusTypeLowstorev = 6
MAVLink enum entry CAMERA_STATUS_TYPE_LOWSTOREV.
Camera storage low. Parameter p1 shows reported video minutes remaining.
Implementations§
Trait Implementations§
Source§impl Clone for CameraStatusTypes
impl Clone for CameraStatusTypes
Source§fn clone(&self) -> CameraStatusTypes
fn clone(&self) -> CameraStatusTypes
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 CameraStatusTypes
impl Debug for CameraStatusTypes
Source§impl Default for CameraStatusTypes
impl Default for CameraStatusTypes
Source§fn default() -> CameraStatusTypes
fn default() -> CameraStatusTypes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CameraStatusTypes
impl<'de> Deserialize<'de> for CameraStatusTypes
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
Source§impl NamedType for CameraStatusTypes
impl NamedType for CameraStatusTypes
fn sid() -> SpectaID
Source§fn named_data_type(
type_map: &mut TypeCollection,
generics: &[DataType],
) -> NamedDataType
fn named_data_type( type_map: &mut TypeCollection, generics: &[DataType], ) -> NamedDataType
this is equivalent to Type::inline but returns a NamedDataType instead.
Source§fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
this is equivalent to [Type::definition] but returns a NamedDataType instead.
Source§impl PartialEq for CameraStatusTypes
impl PartialEq for CameraStatusTypes
Source§impl Serialize for CameraStatusTypes
impl Serialize for CameraStatusTypes
Source§impl TryFrom<u8> for CameraStatusTypes
impl TryFrom<u8> for CameraStatusTypes
Source§impl Type for CameraStatusTypes
impl Type for CameraStatusTypes
Source§fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
Returns the definition of a type using the provided generics. Read more
Source§fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
Generates a datatype corresponding to a reference to this type,
as determined by its category. Getting a reference to a type implies that
it should belong in the type map (since it has to be referenced from somewhere),
so the output of
definition will be put into the type map.impl Copy for CameraStatusTypes
impl StructuralPartialEq for CameraStatusTypes
Auto Trait Implementations§
impl Freeze for CameraStatusTypes
impl RefUnwindSafe for CameraStatusTypes
impl Send for CameraStatusTypes
impl Sync for CameraStatusTypes
impl Unpin for CameraStatusTypes
impl UnwindSafe for CameraStatusTypes
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