pub trait CatalyzerService: Service<Request<Body>, Error = Infallible> {
    const PATH: &'static str;
}
Expand description

A trait that represents a Catalyzer service.

All services must implement this trait (and the TowerService trait).

Required Associated Constants§

const PATH: &'static str

Path to mount the service on.

Object Safety§

This trait is not object safe.

Implementors§