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 usage.
Contributing
See CONTRIBUTING.md
License
See the root LICENSE.txt
Structs
- Six (6) bytes reserved for FrameHeader information.
- Metadata associated with the frame.
- The error type used for all [wasmrs_rx::Mono]/[wasmrs_rx::Flux] payloads.
- A complete [Payload] object that includes metadata and data bytes.
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.
Functions
- A utility method for creating an Error::Extra variant.
Type Aliases
- The type that holds the bitmask for Frame flags.