Enum msfs::sys::SIMCONNECT_EXCEPTION

source ·
#[repr(u32)]
pub enum SIMCONNECT_EXCEPTION {
Show 44 variants SIMCONNECT_EXCEPTION_NONE = 0, SIMCONNECT_EXCEPTION_ERROR = 1, SIMCONNECT_EXCEPTION_SIZE_MISMATCH = 2, SIMCONNECT_EXCEPTION_UNRECOGNIZED_ID = 3, SIMCONNECT_EXCEPTION_UNOPENED = 4, SIMCONNECT_EXCEPTION_VERSION_MISMATCH = 5, SIMCONNECT_EXCEPTION_TOO_MANY_GROUPS = 6, SIMCONNECT_EXCEPTION_NAME_UNRECOGNIZED = 7, SIMCONNECT_EXCEPTION_TOO_MANY_EVENT_NAMES = 8, SIMCONNECT_EXCEPTION_EVENT_ID_DUPLICATE = 9, SIMCONNECT_EXCEPTION_TOO_MANY_MAPS = 10, SIMCONNECT_EXCEPTION_TOO_MANY_OBJECTS = 11, SIMCONNECT_EXCEPTION_TOO_MANY_REQUESTS = 12, SIMCONNECT_EXCEPTION_WEATHER_INVALID_PORT = 13, SIMCONNECT_EXCEPTION_WEATHER_INVALID_METAR = 14, SIMCONNECT_EXCEPTION_WEATHER_UNABLE_TO_GET_OBSERVATION = 15, SIMCONNECT_EXCEPTION_WEATHER_UNABLE_TO_CREATE_STATION = 16, SIMCONNECT_EXCEPTION_WEATHER_UNABLE_TO_REMOVE_STATION = 17, SIMCONNECT_EXCEPTION_INVALID_DATA_TYPE = 18, SIMCONNECT_EXCEPTION_INVALID_DATA_SIZE = 19, SIMCONNECT_EXCEPTION_DATA_ERROR = 20, SIMCONNECT_EXCEPTION_INVALID_ARRAY = 21, SIMCONNECT_EXCEPTION_CREATE_OBJECT_FAILED = 22, SIMCONNECT_EXCEPTION_LOAD_FLIGHTPLAN_FAILED = 23, SIMCONNECT_EXCEPTION_OPERATION_INVALID_FOR_OBJECT_TYPE = 24, SIMCONNECT_EXCEPTION_ILLEGAL_OPERATION = 25, SIMCONNECT_EXCEPTION_ALREADY_SUBSCRIBED = 26, SIMCONNECT_EXCEPTION_INVALID_ENUM = 27, SIMCONNECT_EXCEPTION_DEFINITION_ERROR = 28, SIMCONNECT_EXCEPTION_DUPLICATE_ID = 29, SIMCONNECT_EXCEPTION_DATUM_ID = 30, SIMCONNECT_EXCEPTION_OUT_OF_BOUNDS = 31, SIMCONNECT_EXCEPTION_ALREADY_CREATED = 32, SIMCONNECT_EXCEPTION_OBJECT_OUTSIDE_REALITY_BUBBLE = 33, SIMCONNECT_EXCEPTION_OBJECT_CONTAINER = 34, SIMCONNECT_EXCEPTION_OBJECT_AI = 35, SIMCONNECT_EXCEPTION_OBJECT_ATC = 36, SIMCONNECT_EXCEPTION_OBJECT_SCHEDULE = 37, SIMCONNECT_EXCEPTION_JETWAY_DATA = 38, SIMCONNECT_EXCEPTION_ACTION_NOT_FOUND = 39, SIMCONNECT_EXCEPTION_NOT_AN_ACTION = 40, SIMCONNECT_EXCEPTION_INCORRECT_ACTION_PARAMS = 41, SIMCONNECT_EXCEPTION_GET_INPUT_EVENT_FAILED = 42, SIMCONNECT_EXCEPTION_SET_INPUT_EVENT_FAILED = 43,
}

Variants§

§

SIMCONNECT_EXCEPTION_NONE = 0

§

SIMCONNECT_EXCEPTION_ERROR = 1

§

SIMCONNECT_EXCEPTION_SIZE_MISMATCH = 2

§

SIMCONNECT_EXCEPTION_UNRECOGNIZED_ID = 3

§

SIMCONNECT_EXCEPTION_UNOPENED = 4

§

SIMCONNECT_EXCEPTION_VERSION_MISMATCH = 5

§

SIMCONNECT_EXCEPTION_TOO_MANY_GROUPS = 6

§

SIMCONNECT_EXCEPTION_NAME_UNRECOGNIZED = 7

§

SIMCONNECT_EXCEPTION_TOO_MANY_EVENT_NAMES = 8

§

SIMCONNECT_EXCEPTION_EVENT_ID_DUPLICATE = 9

§

SIMCONNECT_EXCEPTION_TOO_MANY_MAPS = 10

§

SIMCONNECT_EXCEPTION_TOO_MANY_OBJECTS = 11

§

SIMCONNECT_EXCEPTION_TOO_MANY_REQUESTS = 12

§

SIMCONNECT_EXCEPTION_WEATHER_INVALID_PORT = 13

§

SIMCONNECT_EXCEPTION_WEATHER_INVALID_METAR = 14

§

SIMCONNECT_EXCEPTION_WEATHER_UNABLE_TO_GET_OBSERVATION = 15

§

SIMCONNECT_EXCEPTION_WEATHER_UNABLE_TO_CREATE_STATION = 16

§

SIMCONNECT_EXCEPTION_WEATHER_UNABLE_TO_REMOVE_STATION = 17

§

SIMCONNECT_EXCEPTION_INVALID_DATA_TYPE = 18

§

SIMCONNECT_EXCEPTION_INVALID_DATA_SIZE = 19

§

SIMCONNECT_EXCEPTION_DATA_ERROR = 20

§

SIMCONNECT_EXCEPTION_INVALID_ARRAY = 21

§

SIMCONNECT_EXCEPTION_CREATE_OBJECT_FAILED = 22

§

SIMCONNECT_EXCEPTION_LOAD_FLIGHTPLAN_FAILED = 23

§

SIMCONNECT_EXCEPTION_OPERATION_INVALID_FOR_OBJECT_TYPE = 24

§

SIMCONNECT_EXCEPTION_ILLEGAL_OPERATION = 25

§

SIMCONNECT_EXCEPTION_ALREADY_SUBSCRIBED = 26

§

SIMCONNECT_EXCEPTION_INVALID_ENUM = 27

§

SIMCONNECT_EXCEPTION_DEFINITION_ERROR = 28

§

SIMCONNECT_EXCEPTION_DUPLICATE_ID = 29

§

SIMCONNECT_EXCEPTION_DATUM_ID = 30

§

SIMCONNECT_EXCEPTION_OUT_OF_BOUNDS = 31

§

SIMCONNECT_EXCEPTION_ALREADY_CREATED = 32

§

SIMCONNECT_EXCEPTION_OBJECT_OUTSIDE_REALITY_BUBBLE = 33

§

SIMCONNECT_EXCEPTION_OBJECT_CONTAINER = 34

§

SIMCONNECT_EXCEPTION_OBJECT_AI = 35

§

SIMCONNECT_EXCEPTION_OBJECT_ATC = 36

§

SIMCONNECT_EXCEPTION_OBJECT_SCHEDULE = 37

§

SIMCONNECT_EXCEPTION_JETWAY_DATA = 38

§

SIMCONNECT_EXCEPTION_ACTION_NOT_FOUND = 39

§

SIMCONNECT_EXCEPTION_NOT_AN_ACTION = 40

§

SIMCONNECT_EXCEPTION_INCORRECT_ACTION_PARAMS = 41

§

SIMCONNECT_EXCEPTION_GET_INPUT_EVENT_FAILED = 42

§

SIMCONNECT_EXCEPTION_SET_INPUT_EVENT_FAILED = 43

Trait Implementations§

source§

impl Clone for SIMCONNECT_EXCEPTION

source§

fn clone(&self) -> SIMCONNECT_EXCEPTION

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SIMCONNECT_EXCEPTION

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for SIMCONNECT_EXCEPTION

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for SIMCONNECT_EXCEPTION

source§

fn eq(&self, other: &SIMCONNECT_EXCEPTION) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for SIMCONNECT_EXCEPTION

source§

impl Eq for SIMCONNECT_EXCEPTION

source§

impl StructuralPartialEq for SIMCONNECT_EXCEPTION

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.