#[repr(transparent)]pub struct AXError(pub i32);AXError only.Expand description
Error codes returned by accessibility functions.
See also Apple’s documentation
Tuple Fields§
§0: i32Implementations§
Source§impl AXError
impl AXError
Sourcepub const Failure: Self
Available on crate feature HIServices only.
pub const Failure: Self
HIServices only.A system error occurred, such as the failure to allocate an object.
Sourcepub const IllegalArgument: Self
Available on crate feature HIServices only.
pub const IllegalArgument: Self
HIServices only.An illegal argument was passed to the function.
Sourcepub const InvalidUIElement: Self
Available on crate feature HIServices only.
pub const InvalidUIElement: Self
HIServices only.The AXUIElementRef passed to the function is invalid.
Sourcepub const InvalidUIElementObserver: Self
Available on crate feature HIServices only.
pub const InvalidUIElementObserver: Self
HIServices only.The AXObserverRef passed to the function is not a valid observer.
Sourcepub const CannotComplete: Self
Available on crate feature HIServices only.
pub const CannotComplete: Self
HIServices only.The function cannot complete because messaging failed in some way or because the application with which the function is communicating is busy or unresponsive.
Sourcepub const AttributeUnsupported: Self
Available on crate feature HIServices only.
pub const AttributeUnsupported: Self
HIServices only.The attribute is not supported by the AXUIElementRef.
Sourcepub const ActionUnsupported: Self
Available on crate feature HIServices only.
pub const ActionUnsupported: Self
HIServices only.The action is not supported by the AXUIElementRef.
Sourcepub const NotificationUnsupported: Self
Available on crate feature HIServices only.
pub const NotificationUnsupported: Self
HIServices only.The notification is not supported by the AXUIElementRef.
Sourcepub const NotImplemented: Self
Available on crate feature HIServices only.
pub const NotImplemented: Self
HIServices only.Indicates that the function or method is not implemented (this can be returned if a process does not support the accessibility API).
Sourcepub const NotificationAlreadyRegistered: Self
Available on crate feature HIServices only.
pub const NotificationAlreadyRegistered: Self
HIServices only.This notification has already been registered for.
Sourcepub const NotificationNotRegistered: Self
Available on crate feature HIServices only.
pub const NotificationNotRegistered: Self
HIServices only.Indicates that a notification is not registered yet.
Sourcepub const APIDisabled: Self
Available on crate feature HIServices only.
pub const APIDisabled: Self
HIServices only.The accessibility API is disabled (as when, for example, the user deselects “Enable access for assistive devices” in Universal Access Preferences).
Sourcepub const NoValue: Self
Available on crate feature HIServices only.
pub const NoValue: Self
HIServices only.The requested value or AXUIElementRef does not exist.
Sourcepub const ParameterizedAttributeUnsupported: Self
Available on crate feature HIServices only.
pub const ParameterizedAttributeUnsupported: Self
HIServices only.The parameterized attribute is not supported by the AXUIElementRef.
Sourcepub const NotEnoughPrecision: Self
Available on crate feature HIServices only.
pub const NotEnoughPrecision: Self
HIServices only.Not enough precision.
Trait Implementations§
Source§impl Ord for AXError
Available on crate feature HIServices only.
impl Ord for AXError
HIServices only.Source§impl PartialOrd for AXError
Available on crate feature HIServices only.
impl PartialOrd for AXError
HIServices only.Source§impl RefEncode for AXError
Available on crate features HIServices and objc2 only.
impl RefEncode for AXError
HIServices and objc2 only.Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
impl Copy for AXError
HIServices only.impl Eq for AXError
HIServices only.impl StructuralPartialEq for AXError
HIServices only.