Crate pluginop

Source
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§

BytesMutPtr
A (safe) wrapper over a raw pointer to BytesMut.
CursorBytesPtr
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.
FunctionEnv
An opaque reference to a function environment. The function environment data is owned by the Store.
FunctionEnvMut
A temporary handle to a FunctionEnv.
OctetsMutPtr
A (safe) raw pointer to an pinned OctetsMut.
OctetsPtr
A (safe) raw pointer to an pinned Octets.
ParentReferencer
A structure getting the parent structure of the current one.
PluginizableConnection
Pluginization wrapper structure for a QUIC connection.
RawMutPtr
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§

BytesContent
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§

FromWithPH
A trait allowing converting an host-implementation type to a T one, possibly with the help of the PluginHandler if some information should not be directly accessible to the plugins.
IntoWithPH
The reflexive trait of FromWithPH.
TryFromWithPH
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.
TryIntoWithPH
The reflexive trait of TryFromWithPH.