Struct tikv_client::request::plan::ResolveLock
source · pub struct ResolveLock<P: Plan, PdC: PdClient> {
pub inner: P,
pub pd_client: Arc<PdC>,
pub backoff: Backoff,
}
Fields§
§inner: P
§pd_client: Arc<PdC>
§backoff: Backoff
Trait Implementations§
source§impl<P: Plan, PdC: PdClient> Clone for ResolveLock<P, PdC>
impl<P: Plan, PdC: PdClient> Clone for ResolveLock<P, PdC>
source§impl<P: Plan, PdC: PdClient> Plan for ResolveLock<P, PdC>where
P::Result: HasLocks,
impl<P: Plan, PdC: PdClient> Plan for ResolveLock<P, PdC>where P::Result: HasLocks,
Auto Trait Implementations§
impl<P, PdC> RefUnwindSafe for ResolveLock<P, PdC>where P: RefUnwindSafe, PdC: RefUnwindSafe,
impl<P, PdC> Send for ResolveLock<P, PdC>
impl<P, PdC> Sync for ResolveLock<P, PdC>
impl<P, PdC> Unpin for ResolveLock<P, PdC>where P: Unpin,
impl<P, PdC> UnwindSafe for ResolveLock<P, PdC>where P: UnwindSafe, PdC: RefUnwindSafe,
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