Crate wasmrs_frames

source ·
Expand description

wasmrs-frames

This crate provides the encoding, decoding, and data structures for wasmRS RSocket frames.

More Information

For more information on wasmRS, see the core wasmrs crate.

WasmRS makes heavy use of generated code from apex specs and generators to automate all of the boilerplate. See the getting-started for nanobus for up-to-date usage.

Contributing

See CONTRIBUTING.md

License

See the root LICENSE.txt

Structs

Six (6) bytes reserved for FrameHeader information.
Metadata associated with the frame.
A complete Payload object that includes metadata and data bytes.
The error type used for all [wasmrs_rx::Mono]/[wasmrs_rx::Flux] payloads.

Enums

Error type for wasmRS RSocket errors.
RSocket Error Codes Error codes come from https://rsocket.io/about/protocol
An enum that can hold any time of wasmrs frame.
Frame flags come from https://rsocket.io/about/protocol
Frame types from https://rsocket.io/about/protocol

Traits

Utility trait to check the flags of a frame.

Type Definitions

The type that holds the bitmask for Frame flags.