pub struct ScanPatternResponse {
pub quads: Vec<EncodedQuad>,
pub exhausted: Option<i32>,
}Fields§
§quads: Vec<EncodedQuad>§exhausted: Option<i32>Walk verdict, present iff the request set verdict_wanted — the
consumer’s declaration that a full page will be followed by another
request. Absent means no verdict was purchased and nothing is
claimed; a consumer holding absence resumes from its cursor if it
wants more, or infers from its row counts, exactly as before the
verdict existed.
Unary: the page’s own verdict.
Stream: a mid-walk frame-size flush carries NOTHING (the walk being
live at a frame boundary says nothing about what follows the
frame); the limit-stop flush carries LIMITED (the walk stopped at
the request limit — under verdict_wanted, a refused row verified
more data); walk completion emits one empty terminal frame carrying
EXHAUSTED_FILTER_TERMS or EXHAUSTED_SCAN. The consumer reads it
last-frame-wins. Terminal verdicts are genuine under every request
shape: only a walk that ran out of keys can produce them.
Implementations§
Source§impl ScanPatternResponse
impl ScanPatternResponse
Sourcepub fn exhausted(&self) -> ScanExhaustion
pub fn exhausted(&self) -> ScanExhaustion
Returns the enum value of exhausted, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_exhausted(&mut self, value: ScanExhaustion)
pub fn set_exhausted(&mut self, value: ScanExhaustion)
Sets exhausted to the provided enum value.
Trait Implementations§
Source§impl Clone for ScanPatternResponse
impl Clone for ScanPatternResponse
Source§fn clone(&self) -> ScanPatternResponse
fn clone(&self) -> ScanPatternResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ScanPatternResponse
impl Debug for ScanPatternResponse
Source§impl Default for ScanPatternResponse
impl Default for ScanPatternResponse
Source§impl Message for ScanPatternResponse
impl Message for ScanPatternResponse
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for ScanPatternResponse
impl PartialEq for ScanPatternResponse
impl StructuralPartialEq for ScanPatternResponse
Auto Trait Implementations§
impl Freeze for ScanPatternResponse
impl RefUnwindSafe for ScanPatternResponse
impl Send for ScanPatternResponse
impl Sync for ScanPatternResponse
impl Unpin for ScanPatternResponse
impl UnsafeUnpin for ScanPatternResponse
impl UnwindSafe for ScanPatternResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].