pub struct ClaimReply {
pub command: ClaimCommand,
pub disposition: ClaimDisposition,
}Expand description
Every successful disposition consumes the claim sequence and is persisted with its exact command. Receipts survive subsequent consumer-cursor updates.
Fields§
§command: ClaimCommand§disposition: ClaimDispositionImplementations§
Source§impl ClaimReply
impl ClaimReply
Sourcepub fn validate_reply_against(&self, expected: &ClaimCommand) -> Result<()>
pub fn validate_reply_against(&self, expected: &ClaimCommand) -> Result<()>
Check handoff evidence before settling any broker record. Validation failure is an unavailable/unknown result, never permission to acknowledge.
pub fn decode(bytes: &[u8], expected: &ClaimCommand) -> Result<Self>
Trait Implementations§
Source§impl Clone for ClaimReply
impl Clone for ClaimReply
Source§impl Debug for ClaimReply
impl Debug for ClaimReply
Source§impl<'de> Deserialize<'de> for ClaimReply
impl<'de> Deserialize<'de> for ClaimReply
Source§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
Auto Trait Implementations§
impl Freeze for ClaimReply
impl RefUnwindSafe for ClaimReply
impl Send for ClaimReply
impl Sync for ClaimReply
impl Unpin for ClaimReply
impl UnsafeUnpin for ClaimReply
impl UnwindSafe for ClaimReply
Blanket Implementations§
impl<T> ArtifactLease for T
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