Struct Kept
pub struct Kept {
pub id: Name,
pub status: Status,
pub result: Payload,
pub at_ms: u64,
}Expand description
A finished call a key remembers across compaction, so a retry with its ID gets its result instead of running again.
Fields§
§id: Name§status: Status§result: PayloadThe result as the caller gets it (plain, not sealed).
at_ms: u64Trait Implementations§
impl Eq for Kept
impl StructuralPartialEq for Kept
Auto Trait Implementations§
impl Freeze for Kept
impl RefUnwindSafe for Kept
impl Send for Kept
impl Sync for Kept
impl Unpin for Kept
impl UnsafeUnpin for Kept
impl UnwindSafe for Kept
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