pub enum MetadataField<T> {
Unavailable,
Value(T),
}Expand description
A metadata fact that is either unavailable in the source profile or exact.
Variants§
Source filesystem/profile cannot represent or did not observe the fact.
Value(T)
Exact observed value, including zero.
Trait Implementations§
Source§impl<T: Clone> Clone for MetadataField<T>
impl<T: Clone> Clone for MetadataField<T>
impl<T: Copy> Copy for MetadataField<T>
Source§impl<T: Debug> Debug for MetadataField<T>
impl<T: Debug> Debug for MetadataField<T>
impl<T: Eq> Eq for MetadataField<T>
Source§impl<T: PartialEq> PartialEq for MetadataField<T>
impl<T: PartialEq> PartialEq for MetadataField<T>
impl<T: PartialEq> StructuralPartialEq for MetadataField<T>
Auto Trait Implementations§
impl<T> Freeze for MetadataField<T>where
T: Freeze,
impl<T> RefUnwindSafe for MetadataField<T>where
T: RefUnwindSafe,
impl<T> Send for MetadataField<T>where
T: Send,
impl<T> Sync for MetadataField<T>where
T: Sync,
impl<T> Unpin for MetadataField<T>where
T: Unpin,
impl<T> UnsafeUnpin for MetadataField<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for MetadataField<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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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