#[repr(transparent)]pub struct InputErrorCode(pub NonZero<c_uint>);Available on crate feature
api-12 only.Expand description
Enumerates error codes.
Available since API-level: 12
Tuple Fields§
§0: NonZero<c_uint>Implementations§
Source§impl InputErrorCode
impl InputErrorCode
Sourcepub const PERMISSION_DENIED: InputErrorCode
pub const PERMISSION_DENIED: InputErrorCode
Permission verification failed
Sourcepub const NOT_SYSTEM_APPLICATION: InputErrorCode
pub const NOT_SYSTEM_APPLICATION: InputErrorCode
Non-system application
Sourcepub const PARAMETER_ERROR: InputErrorCode
pub const PARAMETER_ERROR: InputErrorCode
Parameter check failed
Sourcepub const DEVICE_NOT_SUPPORTED: InputErrorCode
pub const DEVICE_NOT_SUPPORTED: InputErrorCode
Device not support
Sourcepub const SERVICE_EXCEPTION: InputErrorCode
pub const SERVICE_EXCEPTION: InputErrorCode
Service error
Sourcepub const REPEAT_INTERCEPTOR: InputErrorCode
pub const REPEAT_INTERCEPTOR: InputErrorCode
Interceptor repeatedly created for an application
Sourcepub const OCCUPIED_BY_SYSTEM: InputErrorCode
Available on crate feature api-14 only.
pub const OCCUPIED_BY_SYSTEM: InputErrorCode
api-14 only.Already occupied by the system
Available since API-level: 14
Sourcepub const OCCUPIED_BY_OTHER: InputErrorCode
Available on crate feature api-14 only.
pub const OCCUPIED_BY_OTHER: InputErrorCode
api-14 only.Already occupied by the other
Available since API-level: 14
Sourcepub const KEYBOARD_DEVICE_NOT_EXIST: InputErrorCode
Available on crate feature api-15 only.
pub const KEYBOARD_DEVICE_NOT_EXIST: InputErrorCode
api-15 only.No keyboard device connected
Available since API-level: 15
Sourcepub const INJECTION_AUTHORIZING: InputErrorCode
Available on crate feature api-20 only.
pub const INJECTION_AUTHORIZING: InputErrorCode
api-20 only.Authorizing
Available since API-level: 20
Sourcepub const INJECTION_OPERATION_FREQUENT: InputErrorCode
Available on crate feature api-20 only.
pub const INJECTION_OPERATION_FREQUENT: InputErrorCode
api-20 only.Too many operations
Available since API-level: 20
Sourcepub const INJECTION_AUTHORIZED: InputErrorCode
Available on crate feature api-20 only.
pub const INJECTION_AUTHORIZED: InputErrorCode
api-20 only.Authorized
Available since API-level: 20
Sourcepub const INJECTION_AUTHORIZED_OTHERS: InputErrorCode
Available on crate feature api-20 only.
pub const INJECTION_AUTHORIZED_OTHERS: InputErrorCode
api-20 only.Authorized to other applications
Available since API-level: 20
Sourcepub const APP_NOT_FOCUSED: InputErrorCode
Available on crate feature api-20 only.
pub const APP_NOT_FOCUSED: InputErrorCode
api-20 only.App is not the focused app
Available since API-level: 20
Sourcepub const DEVICE_NO_POINTER: InputErrorCode
Available on crate feature api-20 only.
pub const DEVICE_NO_POINTER: InputErrorCode
api-20 only.The device has no pointer
Available since API-level: 20
Trait Implementations§
Source§impl Clone for InputErrorCode
impl Clone for InputErrorCode
Source§fn clone(&self) -> InputErrorCode
fn clone(&self) -> InputErrorCode
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InputErrorCode
impl Debug for InputErrorCode
Source§impl Hash for InputErrorCode
impl Hash for InputErrorCode
Source§impl PartialEq for InputErrorCode
impl PartialEq for InputErrorCode
impl Copy for InputErrorCode
impl Eq for InputErrorCode
impl StructuralPartialEq for InputErrorCode
Auto Trait Implementations§
impl Freeze for InputErrorCode
impl RefUnwindSafe for InputErrorCode
impl Send for InputErrorCode
impl Sync for InputErrorCode
impl Unpin for InputErrorCode
impl UnwindSafe for InputErrorCode
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)