Struct ndk_sys::ResultCode
source · #[repr(transparent)]pub struct ResultCode(pub c_uint);
Tuple Fields§
§0: c_uint
Implementations§
source§impl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_NO_ERROR: ResultCode = _
source§impl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_OUT_OF_MEMORY: ResultCode = _
source§impl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_INCOMPLETE: ResultCode = _
source§impl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_UNEXPECTED_NULL: ResultCode = _
source§impl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_BAD_DATA: ResultCode = _
source§impl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_OP_FAILED: ResultCode = _
source§impl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_BAD_STATE: ResultCode = _
source§impl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_UNMAPPABLE: ResultCode = _
source§impl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_OUTPUT_INSUFFICIENT_SIZE: ResultCode = _
source§impl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_UNAVAILABLE_DEVICE: ResultCode = _
source§impl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_MISSED_DEADLINE_TRANSIENT: ResultCode = _
source§impl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_MISSED_DEADLINE_PERSISTENT: ResultCode = _
source§impl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_RESOURCE_EXHAUSTED_TRANSIENT: ResultCode = _
source§impl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_RESOURCE_EXHAUSTED_PERSISTENT: ResultCode = _
source§impl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_DEAD_OBJECT: ResultCode = _
Trait Implementations§
source§impl Clone for ResultCode
impl Clone for ResultCode
source§fn clone(&self) -> ResultCode
fn clone(&self) -> ResultCode
Returns a copy of the value. Read more
1.0.0 · 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 ResultCode
impl Debug for ResultCode
source§impl Hash for ResultCode
impl Hash for ResultCode
source§impl PartialEq for ResultCode
impl PartialEq for ResultCode
source§fn eq(&self, other: &ResultCode) -> bool
fn eq(&self, other: &ResultCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ResultCode
impl Eq for ResultCode
impl StructuralPartialEq for ResultCode
Auto Trait Implementations§
impl Freeze for ResultCode
impl RefUnwindSafe for ResultCode
impl Send for ResultCode
impl Sync for ResultCode
impl Unpin for ResultCode
impl UnwindSafe for ResultCode
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