[][src]Struct organix::service::ServiceManager

pub struct ServiceManager<T: Service> { /* fields omitted */ }

Implementations

impl<T: Service> ServiceManager<T>[src]

pub fn with_runtime(runtime: &mut Runtime) -> Self[src]

pub fn intercom(&self) -> IntercomSender<T::IntercomMsg>[src]

pub async fn status<'_>(&'_ self) -> StatusReport[src]

pub fn shutdown(&mut self)[src]

pub fn runtime(
    &mut self,
    watchdog_query: WatchdogQuery
) -> Result<ServiceRuntime<T>, ServiceError>
[src]

Trait Implementations

impl<T: Service> Drop for ServiceManager<T>[src]

impl<T: Service> ManageService for ServiceManager<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for ServiceManager<T>

impl<T> Send for ServiceManager<T> where
    <T as Service>::IntercomMsg: Send

impl<T> Sync for ServiceManager<T> where
    <T as Service>::IntercomMsg: Send

impl<T> Unpin for ServiceManager<T>

impl<T> !UnwindSafe for ServiceManager<T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithSubscriber for T[src]