pub struct QueryConnect { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for QueryConnect
impl Clone for QueryConnect
Source§fn clone(&self) -> QueryConnect
fn clone(&self) -> QueryConnect
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 moreSource§impl Service for QueryConnect
impl Service for QueryConnect
Source§async fn get(
&self,
ctx: Context,
request: OwnedView<GetRequestView<'static>>,
) -> Result<(GetResponse, Context), ConnectError>
async fn get( &self, ctx: Context, request: OwnedView<GetRequestView<'static>>, ) -> Result<(GetResponse, Context), ConnectError>
Point lookup of a single key.
Source§async fn get_many(
&self,
ctx: Context,
request: OwnedView<GetManyRequestView<'static>>,
) -> Result<(Pin<Box<dyn Stream<Item = Result<GetManyFrame, ConnectError>> + Send>>, Context), ConnectError>
async fn get_many( &self, ctx: Context, request: OwnedView<GetManyRequestView<'static>>, ) -> Result<(Pin<Box<dyn Stream<Item = Result<GetManyFrame, ConnectError>> + Send>>, Context), ConnectError>
Batch point lookup of multiple keys, streamed back in frames.
Source§async fn range(
&self,
ctx: Context,
request: OwnedView<RangeRequestView<'static>>,
) -> Result<(Pin<Box<dyn Stream<Item = Result<RangeFrame, ConnectError>> + Send>>, Context), ConnectError>
async fn range( &self, ctx: Context, request: OwnedView<RangeRequestView<'static>>, ) -> Result<(Pin<Box<dyn Stream<Item = Result<RangeFrame, ConnectError>> + Send>>, Context), ConnectError>
Lexicographic range scan, streamed back in batched frames.
Source§async fn reduce(
&self,
ctx: Context,
request: OwnedView<ReduceRequestView<'static>>,
) -> Result<(ReduceResponse, Context), ConnectError>
async fn reduce( &self, ctx: Context, request: OwnedView<ReduceRequestView<'static>>, ) -> Result<(ReduceResponse, Context), ConnectError>
Server-side aggregation over a key range with optional grouping and
filtering.
Auto Trait Implementations§
impl Freeze for QueryConnect
impl !RefUnwindSafe for QueryConnect
impl Send for QueryConnect
impl Sync for QueryConnect
impl Unpin for QueryConnect
impl UnsafeUnpin for QueryConnect
impl !UnwindSafe for QueryConnect
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