pub enum CommandStatus {
Ongoing,
Success,
Failure,
Retry,
}
Expand description
CommandStatus
definition
Variants§
Ongoing
The command takes some time to complete and is ongoing. Another status shall be sent to signal its completion.
Success
The command completed successfully.
Failure
The command failed to complete.
Retry
The command must be resent by the cloud (e.g.: expired link).
Trait Implementations§
Source§impl Clone for CommandStatus
impl Clone for CommandStatus
Source§fn clone(&self) -> CommandStatus
fn clone(&self) -> CommandStatus
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 CommandStatus
impl Debug for CommandStatus
Source§impl<'de> Deserialize<'de> for CommandStatus
impl<'de> Deserialize<'de> for CommandStatus
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 CommandStatus
impl Hash for CommandStatus
Source§impl PartialEq for CommandStatus
impl PartialEq for CommandStatus
Source§impl Serialize for CommandStatus
impl Serialize for CommandStatus
impl Eq for CommandStatus
impl StructuralPartialEq for CommandStatus
Auto Trait Implementations§
impl Freeze for CommandStatus
impl RefUnwindSafe for CommandStatus
impl Send for CommandStatus
impl Sync for CommandStatus
impl Unpin for CommandStatus
impl UnwindSafe for CommandStatus
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