pub struct DynamicBounds<'a> {
pub clock: &'a dyn Clock,
pub deadline_ms: Option<u64>,
pub shared_ledger: Option<&'a Ledger>,
pub sink: Option<(&'a dyn DynamicEvidenceSink, u64)>,
}Expand description
Dynamic questions (spec 019): the only execution entry point. Dynamic questions (spec 019): the only execution entry point. Dynamic questions (spec 019): the only execution entry point. The bounds of one dynamic request, fresh for each call.
Fields§
§clock: &'a dyn Clock§deadline_ms: Option<u64>Can only tighten the request’s own deadline_ms.
A host ledger (a spend journal, say) reserved after the request’s own hard cap, and settled with the same charge.
sink: Option<(&'a dyn DynamicEvidenceSink, u64)>Where the outcome is delivered, and how long delivery may take.
Trait Implementations§
Source§impl<'a> Clone for DynamicBounds<'a>
impl<'a> Clone for DynamicBounds<'a>
impl<'a> Copy for DynamicBounds<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DynamicBounds<'a>
impl<'a> !UnwindSafe for DynamicBounds<'a>
impl<'a> Freeze for DynamicBounds<'a>
impl<'a> Send for DynamicBounds<'a>
impl<'a> Sync for DynamicBounds<'a>
impl<'a> Unpin for DynamicBounds<'a>
impl<'a> UnsafeUnpin for DynamicBounds<'a>
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