Struct fluvio_stream_dispatcher::store::ChangeListener [−][src]
pub struct ChangeListener<S, C> where
S: Spec,
C: MetadataItem, { /* fields omitted */ }
Expand description
listen for changes local store
Implementations
check if there should be any changes this should be done before event listener to ensure no events are missed
find all changes derived from this listener
find all spec related changes
all status related changes
all meta related changes
pub async fn sync_changes_with_filter(
&'_ mut self,
filter: &'_ ChangeFlag
) -> EpochChanges<MetadataStoreObject<S, C>>
pub async fn sync_changes_with_filter(
&'_ mut self,
filter: &'_ ChangeFlag
) -> EpochChanges<MetadataStoreObject<S, C>>
all meta related changes
wait for initial loading and return all as expected
Trait Implementations
Auto Trait Implementations
impl<S, C> !RefUnwindSafe for ChangeListener<S, C>
impl<S, C> Send for ChangeListener<S, C> where
C: Send + Sync,
S: Send + Sync,
<S as Spec>::IndexKey: Send + Sync,
<S as Spec>::Status: Send + Sync,
impl<S, C> Sync for ChangeListener<S, C> where
C: Send + Sync,
S: Send + Sync,
<S as Spec>::IndexKey: Send + Sync,
<S as Spec>::Status: Send + Sync,
impl<S, C> Unpin for ChangeListener<S, C>
impl<S, C> !UnwindSafe for ChangeListener<S, C>
Blanket Implementations
Mutably borrows from an owned value. 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
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