Trait server::server::Stop[][src]

trait Stop {
    fn stop(self: Box<Self>);
}

A small trait for components which can be trivially stopped. Lets us keep a list of these in TiKV, rather than storing each component individually.

Required methods

fn stop(self: Box<Self>)[src]

Loading content...

Implementations on Foreign Types

impl<E, R> Stop for StatusServer<E, R> where
    E: 'static,
    R: 'static + Send
[src]

impl Stop for Worker[src]

impl<T: Display + Send + 'static> Stop for LazyWorker<T>[src]

Loading content...

Implementors

Loading content...