Module plumber_rs::servlet [−][src]
The module that defines the servlet traits.
This is the fundamental module for the Plumber-Rust binding library. This module defines the basic traits and types for a plumber servlet.
To create a Plumber servlet with rust, Bootstrap
trait must be implemented by some type and
this type should be used in export_bootstrap!
macro.
Structs
AsyncTaskHandle |
The type for the async task handle |
Unimplemented |
The placeholder for a servlet that is not implemented |
Enums
ServletMode |
The value that is used as the bootstrap result |
Traits
AsyncServlet |
The trait for an asynchronous servlet. |
Bootstrap |
The trait for the bootstrap type |
SyncServlet |
The trait for a synchronous servlet. |
Functions
fail |
Returns the failure result |
success |
Returns the success result |
Type Definitions
ServletFuncResult |
The servlet function call result |