Struct keri_core::processor::EventProcessor
source · pub struct EventProcessor { /* private fields */ }Implementations§
source§impl EventProcessor
impl EventProcessor
pub fn new(db: Arc<SledEventDatabase>, publisher: NotificationBus) -> Self
pub fn register_observer( &mut self, observer: Arc<dyn Notifier + Send + Sync>, notifications: Vec<JustNotification> ) -> Result<(), Error>
pub fn process_notice<F>( &self, notice: &Notice, processing_strategy: F ) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for EventProcessor
impl !RefUnwindSafe for EventProcessor
impl Send for EventProcessor
impl Sync for EventProcessor
impl Unpin for EventProcessor
impl !UnwindSafe for EventProcessor
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