Struct ndk_sys::ResultCode
source · #[repr(transparent)]pub struct ResultCode(pub c_uint);
Tuple Fields
0: c_uint
Implementations
sourceimpl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_NO_ERROR: ResultCode = _
sourceimpl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_OUT_OF_MEMORY: ResultCode = _
sourceimpl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_INCOMPLETE: ResultCode = _
sourceimpl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_UNEXPECTED_NULL: ResultCode = _
sourceimpl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_BAD_DATA: ResultCode = _
sourceimpl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_OP_FAILED: ResultCode = _
sourceimpl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_BAD_STATE: ResultCode = _
sourceimpl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_UNMAPPABLE: ResultCode = _
sourceimpl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_OUTPUT_INSUFFICIENT_SIZE: ResultCode = _
sourceimpl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_UNAVAILABLE_DEVICE: ResultCode = _
sourceimpl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_MISSED_DEADLINE_TRANSIENT: ResultCode = _
sourceimpl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_MISSED_DEADLINE_PERSISTENT: ResultCode = _
sourceimpl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_RESOURCE_EXHAUSTED_TRANSIENT: ResultCode = _
sourceimpl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_RESOURCE_EXHAUSTED_PERSISTENT: ResultCode = _
sourceimpl ResultCode
impl ResultCode
pub const ANEURALNETWORKS_DEAD_OBJECT: ResultCode = _
Trait Implementations
sourceimpl Clone for ResultCode
impl Clone for ResultCode
sourcefn clone(&self) -> ResultCode
fn clone(&self) -> ResultCode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ResultCode
impl Debug for ResultCode
sourceimpl Hash for ResultCode
impl Hash for ResultCode
sourceimpl PartialEq<ResultCode> for ResultCode
impl PartialEq<ResultCode> for ResultCode
sourcefn eq(&self, other: &ResultCode) -> bool
fn eq(&self, other: &ResultCode) -> bool
impl Copy for ResultCode
impl Eq for ResultCode
impl StructuralEq for ResultCode
impl StructuralPartialEq for ResultCode
Auto Trait Implementations
impl RefUnwindSafe for ResultCode
impl Send for ResultCode
impl Sync for ResultCode
impl Unpin for ResultCode
impl UnwindSafe for ResultCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more