pub struct MicroserviceRegistry { /* private fields */ }Implementations§
Source§impl MicroserviceRegistry
impl MicroserviceRegistry
pub fn builder() -> MicroserviceRegistryBuilder
pub async fn dispatch_message( &self, envelope: MessageEnvelope, ctx: MicroserviceContext, ) -> Result<Value>
pub async fn dispatch_event( &self, envelope: EventEnvelope, ctx: MicroserviceContext, ) -> Result<()>
Trait Implementations§
Source§impl Clone for MicroserviceRegistry
impl Clone for MicroserviceRegistry
Source§fn clone(&self) -> MicroserviceRegistry
fn clone(&self) -> MicroserviceRegistry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for MicroserviceRegistry
impl Default for MicroserviceRegistry
Source§fn default() -> MicroserviceRegistry
fn default() -> MicroserviceRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MicroserviceRegistry
impl !RefUnwindSafe for MicroserviceRegistry
impl Send for MicroserviceRegistry
impl Sync for MicroserviceRegistry
impl Unpin for MicroserviceRegistry
impl UnsafeUnpin for MicroserviceRegistry
impl !UnwindSafe for MicroserviceRegistry
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