#[repr(u8)]pub enum TargetResValue {
Ok = 0,
Timeout = 1,
IdMissed = 2,
InvalidParam = 3,
InvalidState = 4,
OtherWrite = 5,
Unsupported = 6,
Full = 7,
}Expand description
The result value of the request.
Variants§
Ok = 0
Succeeded.
Timeout = 1
The request timed out.
IdMissed = 2
The cube is out of the area of position id.
InvalidParam = 3
The given parameters were invalid.
InvalidState = 4
The state of the cube went invalid (e.g. powered off during movement).
OtherWrite = 5
The new request was written.
Unsupported = 6
The request was not supported.
Full = 7
The number of the pending requests exceeds the capacity.
Trait Implementations§
Source§impl Clone for TargetResValue
impl Clone for TargetResValue
Source§fn clone(&self) -> TargetResValue
fn clone(&self) -> TargetResValue
Returns a duplicate 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 TargetResValue
impl Debug for TargetResValue
Source§impl<'de> Deserialize<'de> for TargetResValue
impl<'de> Deserialize<'de> for TargetResValue
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for TargetResValue
impl Hash for TargetResValue
Source§impl PartialEq for TargetResValue
impl PartialEq for TargetResValue
Source§impl Serialize for TargetResValue
impl Serialize for TargetResValue
impl Copy for TargetResValue
impl Eq for TargetResValue
impl StructuralPartialEq for TargetResValue
Auto Trait Implementations§
impl Freeze for TargetResValue
impl RefUnwindSafe for TargetResValue
impl Send for TargetResValue
impl Sync for TargetResValue
impl Unpin for TargetResValue
impl UnsafeUnpin for TargetResValue
impl UnwindSafe for TargetResValue
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