#[non_exhaustive]pub struct RequestIdConflict {
pub status: u16,
pub request_id: String,
pub message: String,
pub retained_command_id: Option<String>,
pub retained_command_type: Option<String>,
pub retained_outcome: Option<String>,
pub conflict: Vec<String>,
pub body: Value,
}Expand description
A refused signal or update whose caller command key is already retained for a command with a different intent.
Nothing was admitted or recorded, and the key stays bound to the retained
command. Send a new key for a different command, or repeat the retained
command’s exact intent to receive its receipt. conflict lists the
mismatched intent parts: name, arguments or target_or_arguments
(native Server 3.9.0). retained_command_id names the retained command.
request_id is the key that was sent. retained_command_type is None
when the Server does not report it, as native Server 3.9.0 does not; the
full answer, including outcome: "rejected_request_id_conflict", is in
body.
A Server that advertises capabilities.command_request_keys in
Client::cluster_info compares every keyed signal and update this way.
Older Servers (PHP Server 2.x and native up to 3.8) do not: a repeated
signal key can record a second signal there, and an update retried with
changed arguments returns the original receipt.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.status: u16§request_id: String§message: String§retained_command_id: Option<String>§retained_command_type: Option<String>§retained_outcome: Option<String>§conflict: Vec<String>§body: ValueTrait Implementations§
Source§impl Clone for RequestIdConflict
impl Clone for RequestIdConflict
Source§fn clone(&self) -> RequestIdConflict
fn clone(&self) -> RequestIdConflict
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more