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§
impl 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