pub enum Begin {
Started,
InFlight,
Replay(StoredResponse),
Mismatch,
Unavailable,
}Expand description
What the store says about a key
Variants§
Started
New key: the caller now owns it and must call complete or abandon
InFlight
Another request with this key is running
Replay(StoredResponse)
This key finished before with the same request
Mismatch
This key was used for a different request
The store cannot take more keys right now
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Begin
impl RefUnwindSafe for Begin
impl Send for Begin
impl Sync for Begin
impl Unpin for Begin
impl UnsafeUnpin for Begin
impl UnwindSafe for Begin
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