Enum fluvio_stream_dispatcher::store::actions::LSChange [−][src]
pub enum LSChange<S, C> where
C: MetadataItem,
S: Spec,
<S as Spec>::Status: PartialEq<<S as Spec>::Status>, { Add(MetadataStoreObject<S, C>), Mod(MetadataStoreObject<S, C>, MetadataStoreObject<S, C>), Delete(MetadataStoreObject<S, C>), }
Expand description
changes that happen in the store
Variants
Add(MetadataStoreObject<S, C>)
Mod(MetadataStoreObject<S, C>, MetadataStoreObject<S, C>)
Delete(MetadataStoreObject<S, C>)
Implementations
pub fn update(
new: MetadataStoreObject<S, C>,
old: MetadataStoreObject<S, C>
) -> LSChange<S, C>
Trait Implementations
Performs the conversion.
impl<S, C> StructuralPartialEq for LSChange<S, C> where
C: MetadataItem,
S: Spec,
<S as Spec>::Status: PartialEq<<S as Spec>::Status>,
Auto Trait Implementations
impl<S, C> RefUnwindSafe for LSChange<S, C> where
C: RefUnwindSafe,
S: RefUnwindSafe,
<S as Spec>::IndexKey: RefUnwindSafe,
<S as Spec>::Status: RefUnwindSafe,
impl<S, C> Send for LSChange<S, C> where
C: Send,
S: Send,
<S as Spec>::IndexKey: Send,
<S as Spec>::Status: Send,
impl<S, C> Sync for LSChange<S, C> where
C: Sync,
S: Sync,
<S as Spec>::IndexKey: Sync,
<S as Spec>::Status: Sync,
impl<S, C> Unpin for LSChange<S, C> where
C: Unpin,
S: Unpin,
<S as Spec>::IndexKey: Unpin,
<S as Spec>::Status: Unpin,
impl<S, C> UnwindSafe for LSChange<S, C> where
C: UnwindSafe,
S: UnwindSafe,
<S as Spec>::IndexKey: UnwindSafe,
<S as Spec>::Status: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more