pub struct DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder, {
pub name: S::IndexKey,
/* private fields */
}
Fields
name: S::IndexKey
Implementations
sourceimpl<S> DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder,
impl<S> DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder,
sourceimpl<S> DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder,
impl<S> DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder,
pub async fn validate<C>(&self, store: &LocalStore<S, C>) -> bool where
C: MetadataItem,
Trait Implementations
sourceimpl<S: Clone> Clone for DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder,
S::IndexKey: Clone,
impl<S: Clone> Clone for DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder,
S::IndexKey: Clone,
sourcefn clone(&self) -> DerivedStreamRef<S>
fn clone(&self) -> DerivedStreamRef<S>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<S: Debug> Debug for DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder,
S::IndexKey: Debug,
impl<S: Debug> Debug for DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder,
S::IndexKey: Debug,
sourceimpl<S> Decoder for DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder,
impl<S> Decoder for DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder,
sourceimpl<S: Default> Default for DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder,
S::IndexKey: Default,
impl<S: Default> Default for DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder,
S::IndexKey: Default,
sourcefn default() -> DerivedStreamRef<S>
fn default() -> DerivedStreamRef<S>
Returns the “default value” for a type. Read more
sourceimpl<S> Display for DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder + Display,
impl<S> Display for DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder + Display,
sourceimpl<S> Encoder for DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder,
impl<S> Encoder for DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder,
sourceimpl<S: PartialEq> PartialEq<DerivedStreamRef<S>> for DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder,
S::IndexKey: PartialEq,
impl<S: PartialEq> PartialEq<DerivedStreamRef<S>> for DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder,
S::IndexKey: PartialEq,
sourcefn eq(&self, other: &DerivedStreamRef<S>) -> bool
fn eq(&self, other: &DerivedStreamRef<S>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DerivedStreamRef<S>) -> bool
fn ne(&self, other: &DerivedStreamRef<S>) -> bool
This method tests for !=
.
impl<S> StructuralPartialEq for DerivedStreamRef<S> where
S: Spec + Default + Encoder + Decoder,
S::IndexKey: Default + Encoder + Decoder,
Auto Trait Implementations
impl<S> RefUnwindSafe for DerivedStreamRef<S> where
S: RefUnwindSafe,
<S as Spec>::IndexKey: RefUnwindSafe,
impl<S> Send for DerivedStreamRef<S> where
S: Send,
<S as Spec>::IndexKey: Send,
impl<S> Sync for DerivedStreamRef<S> where
S: Sync,
<S as Spec>::IndexKey: Sync,
impl<S> Unpin for DerivedStreamRef<S> where
S: Unpin,
<S as Spec>::IndexKey: Unpin,
impl<S> UnwindSafe for DerivedStreamRef<S> where
S: UnwindSafe,
<S as Spec>::IndexKey: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more