pub enum CommandRequestValidationError {
EmptyCommandName,
EmptyCommandId,
PayloadTooLarge,
MissingIdempotencyKey,
InvalidIdempotencyKey,
InvalidCommandName,
InvalidCommandId,
}Expand description
Validation failures defined by the command V1 contract.
Variants§
EmptyCommandName
The command name is empty.
EmptyCommandId
The command identifier is empty.
PayloadTooLarge
The payload exceeds the configured request bound.
MissingIdempotencyKey
A mutating command omitted its idempotency key.
InvalidIdempotencyKey
The supplied idempotency key is malformed.
InvalidCommandName
The command name is malformed.
InvalidCommandId
The command identifier is malformed.
Trait Implementations§
Source§impl Clone for CommandRequestValidationError
impl Clone for CommandRequestValidationError
Source§fn clone(&self) -> CommandRequestValidationError
fn clone(&self) -> CommandRequestValidationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for CommandRequestValidationError
impl StructuralPartialEq for CommandRequestValidationError
Auto Trait Implementations§
impl Freeze for CommandRequestValidationError
impl RefUnwindSafe for CommandRequestValidationError
impl Send for CommandRequestValidationError
impl Sync for CommandRequestValidationError
impl Unpin for CommandRequestValidationError
impl UnsafeUnpin for CommandRequestValidationError
impl UnwindSafe for CommandRequestValidationError
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