[][src]Struct aprun::runner::ServiceRunner

pub struct ServiceRunner {
    pub wait_time: AtomicU64,
    pub stop: AtomicBool,
    pub running: AtomicBool,
    pub service_manager: Arc<Mutex<ServiceManager>>,
}

ServiceRunner is running in thread and is accessible from Actix server using Control

Fields

wait_time: AtomicU64

wait time between checks ( usually one minute )

stop: AtomicBoolrunning: AtomicBoolservice_manager: Arc<Mutex<ServiceManager>>

Implementations

impl ServiceRunner[src]

pub fn new(service_manager: Arc<Mutex<ServiceManager>>) -> Arc<Self>[src]

Auto Trait Implementations

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, 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.