Expand description
What’s common between PubHubs servers
Macros§
- factory_
tuple 🔒 - Implements
actix_web::Handlerfor anAppMethodwith the given number of arguments.
Structs§
- AppBase
- What’s internally common between PubHubs
Apps. - AppCreator
Base - What’s internally common between PubHubs
AppCreators. - AppMethod
- An
Apptogether with a method on it. Used to passApps toactix_web::Handlers as first argument. Seeapi::EndpointDetails::add_to. - Exiter
- Modifier that stops the server
- Running
State - Additional state when discovery has been completed. Derefs to
Extra. - Server
Impl - Basic implementation of Server.
- Shared
State - Shared state between
Apps. Use sparingly! - Shared
State Inner
Enums§
- Command 🔒
- Commands an App can issue to its runner.
- Discover
Verdict - Result of
App::discover. - Name
- Enumerates the names of the different PubHubs servers
Traits§
- App
- What’s common between the
actix_web::Apps used by the different PubHubs servers. - AppCreator
- What’s cloned and moved accross threads by a
Serverto create itsAppinstances. - Details
- Details needed to create a ServerImpl type.
- Inspector 🔒
- What inspects a server via Command::Inspect.
- Modifier
- What modifies a Server via Command::Modify.
- Server
- Common API to the different PubHubs servers.
Functions§
- response_
type_ 🔒to_ responder - Helper method for
factory_tuplemacro.
Type Aliases§
- BoxInspector
- Owned dynamically typed Inspector.
- BoxModifier
- Owned dynamically typed Modifier.