pub struct InflightRequest {
pub request_id: RequestId,
pub parent_request_id: Option<RequestId>,
pub operation_kind: OperationKind,
pub session_anchor_id: String,
pub started_at: Instant,
pub progress_token: Option<ProgressToken>,
pub cancellation_requested: bool,
pub cancellable: bool,
}Expand description
Bookkeeping record for an in-flight request.
Fields§
§request_id: RequestId§parent_request_id: Option<RequestId>§operation_kind: OperationKind§session_anchor_id: String§started_at: Instant§progress_token: Option<ProgressToken>§cancellation_requested: bool§cancellable: boolImplementations§
Source§impl InflightRequest
impl InflightRequest
pub fn ownership(&self) -> RequestOwnershipSnapshot
Trait Implementations§
Source§impl Clone for InflightRequest
impl Clone for InflightRequest
Source§fn clone(&self) -> InflightRequest
fn clone(&self) -> InflightRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InflightRequest
impl RefUnwindSafe for InflightRequest
impl Send for InflightRequest
impl Sync for InflightRequest
impl Unpin for InflightRequest
impl UnsafeUnpin for InflightRequest
impl UnwindSafe for InflightRequest
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