pub struct PendingRequest {
pub request: OutgoingRequest,
pub lane: Lane,
pub required_seq: RequiredSeq,
}Expand description
One request this queue is tracking: its wire shape, which Lane it
belongs to, and the RequiredSeq it must wait on before it may ever
be released. Persisted via crate::store::StateStore::save_pending_request
so it survives a crash — see the module doc’s “Restart” section for
exactly what survives and what doesn’t.
Fields§
§request: OutgoingRequestThe request itself — resent byte-for-byte on every retry.
lane: LaneWhich lane governs this request’s ordering/concurrency.
required_seq: RequiredSeqThe flush epoch this request must wait on before release — see the module doc’s “Flush epoch integration” section.
Trait Implementations§
Source§impl Clone for PendingRequest
impl Clone for PendingRequest
Source§impl Debug for PendingRequest
impl Debug for PendingRequest
Source§impl<'de> Deserialize<'de> for PendingRequest
impl<'de> Deserialize<'de> for PendingRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PendingRequest
impl PartialEq for PendingRequest
Source§impl Serialize for PendingRequest
impl Serialize for PendingRequest
impl StructuralPartialEq for PendingRequest
Auto Trait Implementations§
impl Freeze for PendingRequest
impl RefUnwindSafe for PendingRequest
impl Send for PendingRequest
impl Sync for PendingRequest
impl Unpin for PendingRequest
impl UnsafeUnpin for PendingRequest
impl UnwindSafe for PendingRequest
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