#[repr(u8)]pub enum PayloadCommandStatus {
Success = 0,
Pending = 1,
Offline = 2,
Exceptions = 3,
Error = 4,
}Expand description
Result of the execute operation.
Variants§
Success = 0
Confirm that the command succeeded.
Pending = 1
Command is enqueued but expected to succeed.
Offline = 2
Target device is in offline state or unreachable.
Exceptions = 3
There is an issue or alert associated with a command. The command could succeed or fail. This status type is typically set when you want to send additional information about another connected device.
Error = 4
Target device is unable to perform the command.
Trait Implementations§
Source§impl Clone for PayloadCommandStatus
impl Clone for PayloadCommandStatus
Source§fn clone(&self) -> PayloadCommandStatus
fn clone(&self) -> PayloadCommandStatus
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 PayloadCommandStatus
impl Debug for PayloadCommandStatus
Source§impl<'de> Deserialize<'de> for PayloadCommandStatus
impl<'de> Deserialize<'de> for PayloadCommandStatus
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 PartialEq for PayloadCommandStatus
impl PartialEq for PayloadCommandStatus
Source§impl Serialize for PayloadCommandStatus
impl Serialize for PayloadCommandStatus
impl Eq for PayloadCommandStatus
impl StructuralPartialEq for PayloadCommandStatus
Auto Trait Implementations§
impl Freeze for PayloadCommandStatus
impl RefUnwindSafe for PayloadCommandStatus
impl Send for PayloadCommandStatus
impl Sync for PayloadCommandStatus
impl Unpin for PayloadCommandStatus
impl UnwindSafe for PayloadCommandStatus
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