#[repr(transparent)]pub struct Print_ErrorCode(pub c_uint);Available on crate features
print and api-12 only.Expand description
Defines error codes.
Available since API-level: 12
Version: 1.0
Tuple Fields§
§0: c_uintImplementations§
Source§impl Print_ErrorCode
impl Print_ErrorCode
Sourcepub const PRINT_ERROR_NONE: Print_ErrorCode
pub const PRINT_ERROR_NONE: Print_ErrorCode
The operation is successful.
Sourcepub const PRINT_ERROR_NO_PERMISSION: Print_ErrorCode
pub const PRINT_ERROR_NO_PERMISSION: Print_ErrorCode
Permission verification failed.
Sourcepub const PRINT_ERROR_INVALID_PARAMETER: Print_ErrorCode
pub const PRINT_ERROR_INVALID_PARAMETER: Print_ErrorCode
Invalid parameter.
Sourcepub const PRINT_ERROR_GENERIC_FAILURE: Print_ErrorCode
pub const PRINT_ERROR_GENERIC_FAILURE: Print_ErrorCode
General internal error.
Sourcepub const PRINT_ERROR_RPC_FAILURE: Print_ErrorCode
pub const PRINT_ERROR_RPC_FAILURE: Print_ErrorCode
RPC communication error.
Sourcepub const PRINT_ERROR_SERVER_FAILURE: Print_ErrorCode
pub const PRINT_ERROR_SERVER_FAILURE: Print_ErrorCode
Server error.
Sourcepub const PRINT_ERROR_INVALID_EXTENSION: Print_ErrorCode
pub const PRINT_ERROR_INVALID_EXTENSION: Print_ErrorCode
Invalid extension.
Sourcepub const PRINT_ERROR_INVALID_PRINTER: Print_ErrorCode
pub const PRINT_ERROR_INVALID_PRINTER: Print_ErrorCode
Invalid printer.
Sourcepub const PRINT_ERROR_INVALID_PRINT_JOB: Print_ErrorCode
pub const PRINT_ERROR_INVALID_PRINT_JOB: Print_ErrorCode
Invalid print job.
Sourcepub const PRINT_ERROR_FILE_IO: Print_ErrorCode
pub const PRINT_ERROR_FILE_IO: Print_ErrorCode
Failed to read or write files.
Sourcepub const PRINT_ERROR_UNKNOWN: Print_ErrorCode
pub const PRINT_ERROR_UNKNOWN: Print_ErrorCode
Unknown error.
Trait Implementations§
Source§impl Clone for Print_ErrorCode
impl Clone for Print_ErrorCode
Source§fn clone(&self) -> Print_ErrorCode
fn clone(&self) -> Print_ErrorCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Print_ErrorCode
impl Debug for Print_ErrorCode
Source§impl Hash for Print_ErrorCode
impl Hash for Print_ErrorCode
Source§impl PartialEq for Print_ErrorCode
impl PartialEq for Print_ErrorCode
Source§fn eq(&self, other: &Print_ErrorCode) -> bool
fn eq(&self, other: &Print_ErrorCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Print_ErrorCode
impl Eq for Print_ErrorCode
impl StructuralPartialEq for Print_ErrorCode
Auto Trait Implementations§
impl Freeze for Print_ErrorCode
impl RefUnwindSafe for Print_ErrorCode
impl Send for Print_ErrorCode
impl Sync for Print_ErrorCode
impl Unpin for Print_ErrorCode
impl UnsafeUnpin for Print_ErrorCode
impl UnwindSafe for Print_ErrorCode
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