Module kvarn::extensions

source ·
Expand description

Here, all extensions code is housed.

Check out the page about extensions at kvarn.org for more info.

If you want to make new extensions for others to use, make sure to check other extensions, so the priorities are valid. This can be done by using the debug implementation on Extensions.

let extensions = Extensions::new();
println!("The currently mounted extensions: {:#?}", extensions);

Structs

Traits

Functions

  • Returns a future accepted by all the extensions yielding immediately with value.
  • Prepare extension to stream body instead of: reading it fully, caching, then responding. Use with care!

Type Definitions