Struct mz_ore::flatcontainer::OwnedRegionOpinion
source · pub struct OwnedRegionOpinion<T>(PhantomData<T>);
Expand description
Opinion indicating that the contents of a collection should be stored in an
OwnedRegion
. This is most useful to force types to a region
that doesn’t copy individual elements to a nested region, like the
SliceRegion
does.
Tuple Fields§
§0: PhantomData<T>
Trait Implementations§
source§impl<T: Debug> Debug for OwnedRegionOpinion<T>
impl<T: Debug> Debug for OwnedRegionOpinion<T>
source§impl<T: Clone + 'static> MzRegionPreference for OwnedRegionOpinion<Vec<T>>
impl<T: Clone + 'static> MzRegionPreference for OwnedRegionOpinion<Vec<T>>
Auto Trait Implementations§
impl<T> Freeze for OwnedRegionOpinion<T>
impl<T> RefUnwindSafe for OwnedRegionOpinion<T>where
T: RefUnwindSafe,
impl<T> Send for OwnedRegionOpinion<T>where
T: Send,
impl<T> Sync for OwnedRegionOpinion<T>where
T: Sync,
impl<T> Unpin for OwnedRegionOpinion<T>where
T: Unpin,
impl<T> UnwindSafe for OwnedRegionOpinion<T>where
T: UnwindSafe,
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