Enum CommandErrorCode
pub enum CommandErrorCode {
InvalidTopic,
InvalidJson,
InvalidRequest,
InvalidStateTransition,
ResourceNotFound,
VersionMismatch,
InternalError,
RequestThrottled,
TerminalStateReached,
}Expand description
Error codes for command execution updates.
Part of CommandErrorResponse.
Variants§
InvalidTopic
InvalidJson
InvalidRequest
InvalidStateTransition
ResourceNotFound
VersionMismatch
InternalError
RequestThrottled
TerminalStateReached
Trait Implementations§
§impl Clone for CommandErrorCode
impl Clone for CommandErrorCode
§fn clone(&self) -> CommandErrorCode
fn clone(&self) -> CommandErrorCode
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 more§impl Debug for CommandErrorCode
impl Debug for CommandErrorCode
§impl<'de> Deserialize<'de> for CommandErrorCode
impl<'de> Deserialize<'de> for CommandErrorCode
§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
§impl PartialEq for CommandErrorCode
impl PartialEq for CommandErrorCode
§impl Serialize for CommandErrorCode
impl Serialize for CommandErrorCode
impl Copy for CommandErrorCode
impl Eq for CommandErrorCode
impl StructuralPartialEq for CommandErrorCode
Auto Trait Implementations§
impl Freeze for CommandErrorCode
impl RefUnwindSafe for CommandErrorCode
impl Send for CommandErrorCode
impl Sync for CommandErrorCode
impl Unpin for CommandErrorCode
impl UnwindSafe for CommandErrorCode
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