pub struct Processor { /* private fields */ }
Expand description

An instance of the ESI processor with a given configuration.

Implementations

Construct a new ESI processor with the given configuration.

Execute the ESI document (document) using the provided client request (original_request) as context, and stream the resulting output to the client.

The request_handler parameter is a closure that is called for each ESI fragment request.

Execute the ESI fragment (fragment) using the provided client request (original_request) as context.

Rather than sending the result of the execution to the client, this function will write XML tags directly to the given xml_writer, allowing for nesting.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.