Enum googapis::google::appengine::v1::url_map::HandlerType [−][src]
pub enum HandlerType {
StaticFiles(StaticFilesHandler),
Script(ScriptHandler),
ApiEndpoint(ApiEndpointHandler),
}
Expand description
Type of handler for this URL pattern.
Variants
StaticFiles(StaticFilesHandler)
Returns the contents of a file, such as an image, as the response.
Tuple Fields of StaticFiles
Script(ScriptHandler)
Executes a script to handle the requests that match this URL
pattern. Only the auto
value is supported for Node.js in the
App Engine standard environment, for example "script": "auto"
.
Tuple Fields of Script
ApiEndpoint(ApiEndpointHandler)
Uses API Endpoints to handle requests.
Tuple Fields of ApiEndpoint
Implementations
pub fn merge<B>(
field: &mut Option<HandlerType>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for HandlerType
impl Send for HandlerType
impl Sync for HandlerType
impl Unpin for HandlerType
impl UnwindSafe for HandlerType
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more