Struct mz_storage_client::types::errors::columnation::DataflowErrorRegion
source · pub struct DataflowErrorRegion {
decode_error_region: StableRegion<DecodeError>,
envelope_error_region: StableRegion<EnvelopeError>,
eval_error_region: StableRegion<EvalError>,
row_region: <Row as Columnation>::InnerRegion,
source_error_region: StableRegion<SourceError>,
string_region: <String as Columnation>::InnerRegion,
u8_region: <Vec<u8> as Columnation>::InnerRegion,
}
Expand description
A region to store DataflowError
.
Fields§
§decode_error_region: StableRegion<DecodeError>
Stable location for DecodeError
for inserting into a box.
envelope_error_region: StableRegion<EnvelopeError>
Stable location for EnvelopeError
for inserting into a box.
eval_error_region: StableRegion<EvalError>
Stable location for EvalError
for inserting into a box.
row_region: <Row as Columnation>::InnerRegion
Region for storing rows.
source_error_region: StableRegion<SourceError>
Stable location for SourceError
for inserting into a box.
string_region: <String as Columnation>::InnerRegion
Region for storing strings.
u8_region: <Vec<u8> as Columnation>::InnerRegion
Region for storing u8 vectors.
Implementations§
source§impl DataflowErrorRegion
impl DataflowErrorRegion
sourceunsafe fn copy_decode_error(
&mut self,
decode_error: &DecodeError
) -> DecodeError
unsafe fn copy_decode_error( &mut self, decode_error: &DecodeError ) -> DecodeError
Copy a decode error into its region, return an owned object.
This is unsafe because the returned value must not be dropped.
Trait Implementations§
source§impl Default for DataflowErrorRegion
impl Default for DataflowErrorRegion
source§fn default() -> DataflowErrorRegion
fn default() -> DataflowErrorRegion
Returns the “default value” for a type. Read more
source§impl Region for DataflowErrorRegion
impl Region for DataflowErrorRegion
§type Item = DataflowError
type Item = DataflowError
The type of item the region contains.
source§unsafe fn copy(&mut self, item: &Self::Item) -> Self::Item
unsafe fn copy(&mut self, item: &Self::Item) -> Self::Item
Add a new element to the region. Read more
source§fn reserve_items<'a, I>(&mut self, items: I)where
Self: 'a,
I: Iterator<Item = &'a Self::Item> + Clone,
fn reserve_items<'a, I>(&mut self, items: I)where Self: 'a, I: Iterator<Item = &'a Self::Item> + Clone,
Ensure that the region can absorb
items
without reallocation.fn reserve_regions<'a, I>(&mut self, regions: I)where Self: 'a, I: Iterator<Item = &'a Self> + Clone,
source§fn heap_size(&self, callback: impl FnMut(usize, usize))
fn heap_size(&self, callback: impl FnMut(usize, usize))
Determine this region’s memory used and reserved capacity in bytes. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DataflowErrorRegion
impl Send for DataflowErrorRegion
impl Sync for DataflowErrorRegion
impl Unpin for DataflowErrorRegion
impl UnwindSafe for DataflowErrorRegion
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
source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See
RustType::into_proto
.