pub struct WireBridgeMetadata {
pub seq: u64,
pub cursor: u64,
pub idempotency_key: String,
pub attempt: u32,
pub max_attempts: u32,
pub timestamp_ms: Option<u64>,
pub ack_for_seq: Option<u64>,
pub request_id: Option<String>,
}Expand description
WireBridgeMetadata data container.
Fields§
§seq: u64Monotonic envelope sequence within the bridge session.
cursor: u64Monotonic accepted inbound cursor observed by the sending side.
idempotency_key: StringD151: correlation/idempotency metadata, not an authoritative duplicate lookup key.
attempt: u32attempt field for attempt.
max_attempts: u32max_attempts field for max attempts.
timestamp_ms: Option<u64>timestamp_ms field for timestamp ms.
ack_for_seq: Option<u64>D151 ack/nack correlation target; receipt duplicate recognition still uses seq/cursor.
request_id: Option<String>request_id field for request id.
Trait Implementations§
Source§impl Clone for WireBridgeMetadata
impl Clone for WireBridgeMetadata
Source§fn clone(&self) -> WireBridgeMetadata
fn clone(&self) -> WireBridgeMetadata
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 WireBridgeMetadata
impl Debug for WireBridgeMetadata
Source§impl PartialEq for WireBridgeMetadata
impl PartialEq for WireBridgeMetadata
impl Eq for WireBridgeMetadata
impl StructuralPartialEq for WireBridgeMetadata
Auto Trait Implementations§
impl Freeze for WireBridgeMetadata
impl RefUnwindSafe for WireBridgeMetadata
impl Send for WireBridgeMetadata
impl Sync for WireBridgeMetadata
impl Unpin for WireBridgeMetadata
impl UnsafeUnpin for WireBridgeMetadata
impl UnwindSafe for WireBridgeMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.