Struct tikv_client::request::plan::CleanupLocks
source · pub struct CleanupLocks<P: Plan, PdC: PdClient> {
pub inner: P,
pub ctx: ResolveLocksContext,
pub options: ResolveLocksOptions,
pub store: Option<RegionStore>,
pub pd_client: Arc<PdC>,
pub backoff: Backoff,
}
Fields§
§inner: P
§ctx: ResolveLocksContext
§options: ResolveLocksOptions
§store: Option<RegionStore>
§pd_client: Arc<PdC>
§backoff: Backoff
Trait Implementations§
source§impl<P: Plan, PdC: PdClient> Clone for CleanupLocks<P, PdC>
impl<P: Plan, PdC: PdClient> Clone for CleanupLocks<P, PdC>
source§impl<P: Plan + Shardable + NextBatch, PdC: PdClient> Plan for CleanupLocks<P, PdC>where
P::Result: HasLocks + HasNextBatch + HasKeyErrors + HasRegionError,
impl<P: Plan + Shardable + NextBatch, PdC: PdClient> Plan for CleanupLocks<P, PdC>where P::Result: HasLocks + HasNextBatch + HasKeyErrors + HasRegionError,
§type Result = CleanupLocksResult
type Result = CleanupLocksResult
The ultimate result of executing the plan (should be a high-level type, not a GRPC response).
Auto Trait Implementations§
impl<P, PdC> !RefUnwindSafe for CleanupLocks<P, PdC>
impl<P, PdC> Send for CleanupLocks<P, PdC>
impl<P, PdC> Sync for CleanupLocks<P, PdC>
impl<P, PdC> Unpin for CleanupLocks<P, PdC>where P: Unpin,
impl<P, PdC> !UnwindSafe for CleanupLocks<P, PdC>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request