Struct rabble::Service [] [src]

pub struct Service<T, H> {
    pub pid: Pid,
    pub tx: Sender<Envelope<T>>,
    // some fields omitted
}

A system service that operates on a single thread. A service is registered via its pid with the executor and can send and receive messages to processes as well as other services.

Fields

Methods

impl<'de, T, H> Service<T, H> where
    T: Serialize + Deserialize<'de> + Debug + Clone,
    H: ServiceHandler<T>, 
[src]