pub enum Verdict {
Proceed,
Replay {
code: ErrorCode,
at: String,
},
Wait {
code: ErrorCode,
at: String,
remaining_secs: u64,
},
}Expand description
What a new request for a ref should do.
Variants§
Proceed
Ask the network.
Replay
Report the earlier answer again without asking.
Wait
The earlier answer said to back off, and not long enough ago.
Trait Implementations§
impl Eq for Verdict
impl StructuralPartialEq for Verdict
Auto Trait Implementations§
impl Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnsafeUnpin for Verdict
impl UnwindSafe for Verdict
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