pub struct EventsPlugin { /* private fields */ }Implementations§
Source§impl EventsPlugin
impl EventsPlugin
pub fn new( publisher: Arc<dyn EventPublisher>, outbox: Arc<dyn OutboxStore>, ) -> Self
pub fn memory() -> (Self, Arc<MemoryEventBus>)
Trait Implementations§
Source§impl Clone for EventsPlugin
impl Clone for EventsPlugin
Source§fn clone(&self) -> EventsPlugin
fn clone(&self) -> EventsPlugin
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventsPlugin
impl Debug for EventsPlugin
Source§impl Plugin for EventsPlugin
impl Plugin for EventsPlugin
fn descriptor(&self) -> PluginDescriptor
fn install(&self, context: &mut PluginContext<'_>) -> Result<(), PluginError>
Source§fn configure_descriptor(
&self,
_descriptor: &mut PluginDescriptor,
_configuration: Option<&Value>,
) -> Result<(), PluginError>
fn configure_descriptor( &self, _descriptor: &mut PluginDescriptor, _configuration: Option<&Value>, ) -> Result<(), PluginError>
Adjusts graph metadata from the plugin’s validated runtime configuration. Read more
Source§fn finalize(
&self,
_context: &mut PluginFinalizeContext<'_>,
) -> Result<(), PluginError>
fn finalize( &self, _context: &mut PluginFinalizeContext<'_>, ) -> Result<(), PluginError>
Completes composition after every enabled plugin has installed its services and
contributions. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for EventsPlugin
impl !UnwindSafe for EventsPlugin
impl Freeze for EventsPlugin
impl Send for EventsPlugin
impl Sync for EventsPlugin
impl Unpin for EventsPlugin
impl UnsafeUnpin for EventsPlugin
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