pub struct Hold {
pub retry_at: Option<Instant>,
}Expand description
No answer yet, but the promise of one (history.md, A hold is a
promise): a hold frame. The call stays open until a reply addressed
to it arrives, through reply by the call’s key, or
the Tool answers when the host asks again, which it does once each time
the run is resumed, and with a retry_at also at that instant. A hold
says that asking again under the call’s key is safe, so the Tool must
answer a second ask as the same call.
Fields§
§retry_at: Option<Instant>When to be asked again, if at a time of its own.
Implementations§
Trait Implementations§
impl Eq for Hold
Source§impl Error for Hold
impl Error for Hold
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for Hold
Auto Trait Implementations§
impl Forget for Hold
impl Freeze for Hold
impl Move for Hold
impl RefUnwindSafe for Hold
impl Send for Holdwhere
RawVecInner: Send,
impl Sync for Holdwhere
RawVecInner: Sync,
impl Unpin for Hold
impl UnsafeUnpin for Hold
impl UnwindSafe for Holdwhere
RawVecInner: UnwindSafe,
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