Enum myo::ResultCode
[−]
[src]
#[repr(C)]pub enum ResultCode { Success, Error, ErrorInvalidArgument, Runtime, }
Function result codes. All libmyo functions that can fail return a value of this type.
Variants
Success
Error
ErrorInvalidArgument
Runtime
Trait Implementations
impl Debug for ResultCode
[src]
impl Clone for ResultCode
[src]
fn clone(&self) -> ResultCode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for ResultCode
[src]
impl PartialEq for ResultCode
[src]
fn eq(&self, __arg_0: &ResultCode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.