Expand description
The core library enabling pluginization of operations.
Re-exports§
pub use pluginop_common as common;
pub use pluginop_macro;
pub use pluginop_octets as octets;
Modules§
- api
- Definition of the API offered to the plugins.
- handler
- The handling of pluginization operations.
- plugin
- Operations relative to a single loaded plugin.
Structs§
- Bytes
MutPtr - A (safe) wrapper over a raw pointer to
BytesMut
. - Cursor
Bytes Ptr - A (safe) wrapper over a raw pointer to
Cursor<Bytes>
- Exports
- Exports is a special kind of map that allows easily unwrapping the types of instances.
- Function
- A WebAssembly
function
instance. - Function
Env - An opaque reference to a function environment.
The function environment data is owned by the
Store
. - Function
EnvMut - A temporary handle to a
FunctionEnv
. - Octets
MutPtr - A (safe) raw pointer to an pinned
OctetsMut
. - Octets
Ptr - A (safe) raw pointer to an pinned
Octets
. - Parent
Referencer - A structure getting the parent structure of the current one.
- Pluginizable
Connection - Pluginization wrapper structure for a QUIC connection.
- RawMut
Ptr - A raw mutable pointer to a pinned structure that is
!Unpin
. - Store
- The store represents all global state that can be manipulated by WebAssembly programs. It consists of the runtime representation of all instances of functions, tables, memories, and globals that have been allocated during the lifetime of the abstract machine.
- TLSBeforeQUIC
- Pluginization wrapper structure before the QUIC connection structure exists.
Enums§
- Bytes
Content - An enum storing the actual content of
Bytes
that are not directly exposed to plugins. Some side utilities are provided to let plugins access these values under some conditions. - Error
- An error that may happen during the operations of this library.
- Permission
- Permission that can be granted to plugins.
Traits§
- From
WithPH - A trait allowing converting an host-implementation type to a
T
one, possibly with the help of thePluginHandler
if some information should not be directly accessible to the plugins. - Into
WithPH - The reflexive trait of
FromWithPH
. - TryFrom
WithPH - A trait trying to convert a type to another one, possibly with side-data stored
in the
PluginHandler
if some information should not be directly accessible to the plugins. - TryInto
WithPH - The reflexive trait of
TryFromWithPH
.