#[repr(u32)]pub enum ETrackedPropertyError {
Show 16 variants
TrackedProp_Success = 0,
TrackedProp_WrongDataType = 1,
TrackedProp_WrongDeviceClass = 2,
TrackedProp_BufferTooSmall = 3,
TrackedProp_UnknownProperty = 4,
TrackedProp_InvalidDevice = 5,
TrackedProp_CouldNotContactServer = 6,
TrackedProp_ValueNotProvidedByDevice = 7,
TrackedProp_StringExceedsMaximumLength = 8,
TrackedProp_NotYetAvailable = 9,
TrackedProp_PermissionDenied = 10,
TrackedProp_InvalidOperation = 11,
TrackedProp_CannotWriteToWildcards = 12,
TrackedProp_IPCReadFailure = 13,
TrackedProp_OutOfMemory = 14,
TrackedProp_InvalidContainer = 15,
}Expand description
Used to return errors that occur when reading properties.
Variants§
TrackedProp_Success = 0
TrackedProp_WrongDataType = 1
TrackedProp_WrongDeviceClass = 2
TrackedProp_BufferTooSmall = 3
TrackedProp_UnknownProperty = 4
TrackedProp_InvalidDevice = 5
TrackedProp_CouldNotContactServer = 6
TrackedProp_ValueNotProvidedByDevice = 7
TrackedProp_StringExceedsMaximumLength = 8
TrackedProp_NotYetAvailable = 9
TrackedProp_PermissionDenied = 10
TrackedProp_InvalidOperation = 11
TrackedProp_CannotWriteToWildcards = 12
TrackedProp_IPCReadFailure = 13
TrackedProp_OutOfMemory = 14
TrackedProp_InvalidContainer = 15
Implementations§
Source§impl ETrackedPropertyError
impl ETrackedPropertyError
pub fn into_result(self) -> Result<(), Self>
Trait Implementations§
Source§impl Clone for ETrackedPropertyError
impl Clone for ETrackedPropertyError
Source§fn clone(&self) -> ETrackedPropertyError
fn clone(&self) -> ETrackedPropertyError
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 ETrackedPropertyError
impl Debug for ETrackedPropertyError
Source§impl Display for ETrackedPropertyError
impl Display for ETrackedPropertyError
Source§impl Error for ETrackedPropertyError
impl Error for ETrackedPropertyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl ExternType for ETrackedPropertyError
impl ExternType for ETrackedPropertyError
Source§impl Hash for ETrackedPropertyError
impl Hash for ETrackedPropertyError
Source§impl PartialEq for ETrackedPropertyError
impl PartialEq for ETrackedPropertyError
impl Eq for ETrackedPropertyError
impl StructuralPartialEq for ETrackedPropertyError
impl UniquePtrTarget for ETrackedPropertyError
impl VectorElement for ETrackedPropertyError
impl WeakPtrTarget for ETrackedPropertyError
Auto Trait Implementations§
impl Freeze for ETrackedPropertyError
impl RefUnwindSafe for ETrackedPropertyError
impl Send for ETrackedPropertyError
impl Sync for ETrackedPropertyError
impl Unpin for ETrackedPropertyError
impl UnwindSafe for ETrackedPropertyError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.