Struct tikv_client::request::plan::CollectError
source · pub struct CollectError;
Expand description
A merge strategy which returns an error if any response is an error and otherwise returns a Vec of the results.
Trait Implementations§
source§impl Clone for CollectError
impl Clone for CollectError
source§fn clone(&self) -> CollectError
fn clone(&self) -> CollectError
Returns a copy 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 moresource§impl<T: Send> Merge<T> for CollectError
impl<T: Send> Merge<T> for CollectError
impl Copy for CollectError
Auto Trait Implementations§
impl RefUnwindSafe for CollectError
impl Send for CollectError
impl Sync for CollectError
impl Unpin for CollectError
impl UnwindSafe for CollectError
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