pub enum HandoverState {
None,
Offering,
Receiving,
Complete,
Aborted,
}Expand description
Handover state.
Variants§
None
No handover
Offering
Offering object to human
Receiving
Receiving object from human
Complete
Handover complete
Aborted
Handover failed/aborted
Trait Implementations§
Source§impl Clone for HandoverState
impl Clone for HandoverState
Source§fn clone(&self) -> HandoverState
fn clone(&self) -> HandoverState
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 HandoverState
impl Debug for HandoverState
Source§impl Default for HandoverState
impl Default for HandoverState
Source§fn default() -> HandoverState
fn default() -> HandoverState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HandoverState
impl<'de> Deserialize<'de> for HandoverState
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 HandoverState
impl Hash for HandoverState
Source§impl PartialEq for HandoverState
impl PartialEq for HandoverState
Source§impl Serialize for HandoverState
impl Serialize for HandoverState
impl Copy for HandoverState
impl Eq for HandoverState
impl StructuralPartialEq for HandoverState
Auto Trait Implementations§
impl Freeze for HandoverState
impl RefUnwindSafe for HandoverState
impl Send for HandoverState
impl Sync for HandoverState
impl Unpin for HandoverState
impl UnwindSafe for HandoverState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.