pub struct ServiceActivatorProcessor { /* private fields */ }Expand description
Processor that binds a ServiceSpec (activator metadata) to service logic and wires channels.
Implementations§
Source§impl ServiceActivatorProcessor
impl ServiceActivatorProcessor
pub fn new(activator: ServiceActivatorSpec) -> Self
pub fn id(&self) -> &str
pub fn from(&self) -> &str
pub fn to(&self) -> &str
pub fn ref_name(&self) -> &str
pub fn has_service(&self) -> bool
pub fn set_service_and_wire( &mut self, svc: impl Service + 'static, runtime: &'static AlloraRuntime, ) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServiceActivatorProcessor
impl !RefUnwindSafe for ServiceActivatorProcessor
impl Send for ServiceActivatorProcessor
impl Sync for ServiceActivatorProcessor
impl Unpin for ServiceActivatorProcessor
impl !UnwindSafe for ServiceActivatorProcessor
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