AutomationError
enum · ferroui-controls · v0.5.0
enum AutomationError
The error of a provider member that the state of its element refuses: the exceptions the members of the provider contracts throw in the original, as values (#567).
The platform bridges turn it into the result of the platform: the
UI Automation bridge of Windows into the result code the original's
runtime returns for the exception (UIA_E_ELEMENTNOTENABLED,
UIA_E_INVALIDOPERATION, COR_E_ARGUMENTOUTOFRANGE, COR_E_NOTSUPPORTED).
Members
ElementNotEnabledInvalidOperationArgumentOutOfRangeNotSupportedelement_not_enabledinvalid_operationinvalid_operation_withargument_out_of_rangenot_supported
ElementNotEnabled
ElementNotEnabled(super::ElementNotEnabledError)
The element is not enabled (ElementNotEnabledException).
InvalidOperation
InvalidOperation(String)
The state of the element does not allow the operation
(InvalidOperationException); the message.
ArgumentOutOfRange
ArgumentOutOfRange(String)
An argument is out of the range of its valid values
(ArgumentOutOfRangeException); the name of the parameter.
NotSupported
NotSupported(String)
The element does not support the operation
(NotSupportedException); the message.
element_not_enabled
fn element_not_enabled() -> Self
The error of an element that is not enabled, with the default message.
invalid_operation
fn invalid_operation() -> Self
An operation the state of the element does not allow, with the default message of the original.
invalid_operation_with
fn invalid_operation_with(message: impl Into<String>) -> Self
An operation the state of the element does not allow, with a message.
argument_out_of_range
fn argument_out_of_range(param_name: impl Into<String>) -> Self
An argument out of the range of its valid values; param_name is
the name of the parameter.
not_supported
fn not_supported() -> Self
An operation the element does not support, with the default message of the original.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedToStringPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEqEqFrom<ElementNotEnabledError>DisplayError
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.