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§
- Frame
Header - Six (6) bytes reserved for FrameHeader information.
- Metadata
- Metadata associated with the frame.
- Payload
Error - The error type used for all [wasmrs_rx::Mono]/[wasmrs_rx::Flux] payloads.
- RawPayload
- A complete [Payload] object that includes metadata and data bytes.
Enums§
- Error
- Error type for wasmRS RSocket errors.
- Error
Code - RSocket Error Codes Error codes come from https://rsocket.io/about/protocol
- Frame
- An enum that can hold any time of wasmrs frame.
- Frame
Flag - Frame flags come from https://rsocket.io/about/protocol
- Frame
Type - Frame types from https://rsocket.io/about/protocol
Traits§
- RSocket
Flags - Utility trait to check the flags of a frame.
Functions§
- ex_err
- A utility method for creating an Error::Extra variant.
Type Aliases§
- Frame
Flags - The type that holds the bitmask for Frame flags.