#[repr(transparent)]pub struct WindowManagerErrorCode(pub NonZero<c_uint>);Available on crate feature
api-12 only.Expand description
Enumerates the result types of the wm interface
Available since API-level: 12
Tuple Fields§
§0: NonZero<c_uint>Implementations§
Source§impl WindowManagerErrorCode
impl WindowManagerErrorCode
Sourcepub const WINDOW_MANAGER_ERRORCODE_NO_PERMISSION: WindowManagerErrorCode
Available on crate feature api-15 only.
pub const WINDOW_MANAGER_ERRORCODE_NO_PERMISSION: WindowManagerErrorCode
api-15 only.No permission.
Available since API-level: 15
Sourcepub const WINDOW_MANAGER_ERRORCODE_INVALID_PARAM: WindowManagerErrorCode
Available on crate feature api-15 only.
pub const WINDOW_MANAGER_ERRORCODE_INVALID_PARAM: WindowManagerErrorCode
api-15 only.Param is invalid.
Available since API-level: 15
Sourcepub const WINDOW_MANAGER_ERRORCODE_DEVICE_NOT_SUPPORTED: WindowManagerErrorCode
Available on crate feature api-15 only.
pub const WINDOW_MANAGER_ERRORCODE_DEVICE_NOT_SUPPORTED: WindowManagerErrorCode
api-15 only.Device not support.
Available since API-level: 15
Sourcepub const INVAILD_WINDOW_ID: WindowManagerErrorCode
pub const INVAILD_WINDOW_ID: WindowManagerErrorCode
window id is invaild.
Sourcepub const SERVICE_ERROR: WindowManagerErrorCode
pub const SERVICE_ERROR: WindowManagerErrorCode
failed.
Sourcepub const WINDOW_MANAGER_ERRORCODE_STATE_ABNORMAL: WindowManagerErrorCode
Available on crate feature api-15 only.
pub const WINDOW_MANAGER_ERRORCODE_STATE_ABNORMAL: WindowManagerErrorCode
api-15 only.Window state is abnormal.
Available since API-level: 15
Sourcepub const WINDOW_MANAGER_ERRORCODE_SYSTEM_ABNORMAL: WindowManagerErrorCode
Available on crate feature api-15 only.
pub const WINDOW_MANAGER_ERRORCODE_SYSTEM_ABNORMAL: WindowManagerErrorCode
api-15 only.Window manager service works abnormally.
Available since API-level: 15
Sourcepub const WINDOW_MANAGER_ERRORCODE_PIP_DESTROY_FAILED: WindowManagerErrorCode
Available on crate feature api-20 only.
pub const WINDOW_MANAGER_ERRORCODE_PIP_DESTROY_FAILED: WindowManagerErrorCode
api-20 only.Picture-In-Picture failed to destroy.
Available since API-level: 20
Sourcepub const WINDOW_MANAGER_ERRORCODE_PIP_STATE_ABNORMAL: WindowManagerErrorCode
Available on crate feature api-20 only.
pub const WINDOW_MANAGER_ERRORCODE_PIP_STATE_ABNORMAL: WindowManagerErrorCode
api-20 only.Picture-In-Picture state is abnormal.
Available since API-level: 20
Sourcepub const WINDOW_MANAGER_ERRORCODE_PIP_CREATE_FAILED: WindowManagerErrorCode
Available on crate feature api-20 only.
pub const WINDOW_MANAGER_ERRORCODE_PIP_CREATE_FAILED: WindowManagerErrorCode
api-20 only.Picture-In-Picture failed to create.
Available since API-level: 20
Sourcepub const WINDOW_MANAGER_ERRORCODE_PIP_INTERNAL_ERROR: WindowManagerErrorCode
Available on crate feature api-20 only.
pub const WINDOW_MANAGER_ERRORCODE_PIP_INTERNAL_ERROR: WindowManagerErrorCode
api-20 only.Picture-In-Picture internal error.
Available since API-level: 20
Sourcepub const WINDOW_MANAGER_ERRORCODE_PIP_REPEATED_OPERATION: WindowManagerErrorCode
Available on crate feature api-20 only.
pub const WINDOW_MANAGER_ERRORCODE_PIP_REPEATED_OPERATION: WindowManagerErrorCode
api-20 only.Picture-In-Picture repeated operation.
Available since API-level: 20
Sourcepub const WINDOW_MANAGER_ERRORCODE_INCORRECT_PARAM: WindowManagerErrorCode
Available on crate feature api-20 only.
pub const WINDOW_MANAGER_ERRORCODE_INCORRECT_PARAM: WindowManagerErrorCode
api-20 only.Parameter is incorrect.
Available since API-level: 20
Trait Implementations§
Source§impl Clone for WindowManagerErrorCode
impl Clone for WindowManagerErrorCode
Source§fn clone(&self) -> WindowManagerErrorCode
fn clone(&self) -> WindowManagerErrorCode
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 WindowManagerErrorCode
impl Debug for WindowManagerErrorCode
Source§impl Hash for WindowManagerErrorCode
impl Hash for WindowManagerErrorCode
Source§impl PartialEq for WindowManagerErrorCode
impl PartialEq for WindowManagerErrorCode
impl Copy for WindowManagerErrorCode
impl Eq for WindowManagerErrorCode
impl StructuralPartialEq for WindowManagerErrorCode
Auto Trait Implementations§
impl Freeze for WindowManagerErrorCode
impl RefUnwindSafe for WindowManagerErrorCode
impl Send for WindowManagerErrorCode
impl Sync for WindowManagerErrorCode
impl Unpin for WindowManagerErrorCode
impl UnwindSafe for WindowManagerErrorCode
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)