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
impl Clone for SIMCONNECT_EXCEPTION
source§fn clone(&self) -> SIMCONNECT_EXCEPTION
fn clone(&self) -> SIMCONNECT_EXCEPTION
Returns a copy 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 SIMCONNECT_EXCEPTION
impl Debug for SIMCONNECT_EXCEPTION
source§impl Hash for SIMCONNECT_EXCEPTION
impl Hash for SIMCONNECT_EXCEPTION
source§impl PartialEq for SIMCONNECT_EXCEPTION
impl PartialEq for SIMCONNECT_EXCEPTION
source§fn eq(&self, other: &SIMCONNECT_EXCEPTION) -> bool
fn eq(&self, other: &SIMCONNECT_EXCEPTION) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SIMCONNECT_EXCEPTION
impl Eq for SIMCONNECT_EXCEPTION
impl StructuralPartialEq for SIMCONNECT_EXCEPTION
Auto Trait Implementations§
impl Freeze for SIMCONNECT_EXCEPTION
impl RefUnwindSafe for SIMCONNECT_EXCEPTION
impl Send for SIMCONNECT_EXCEPTION
impl Sync for SIMCONNECT_EXCEPTION
impl Unpin for SIMCONNECT_EXCEPTION
impl UnwindSafe for SIMCONNECT_EXCEPTION
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