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§

FrameHeader
Six (6) bytes reserved for FrameHeader information.
Metadata
Metadata associated with the frame.
PayloadError
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.
ErrorCode
RSocket Error Codes Error codes come from https://rsocket.io/about/protocol
Frame
An enum that can hold any time of wasmrs frame.
FrameFlag
Frame flags come from https://rsocket.io/about/protocol
FrameType
Frame types from https://rsocket.io/about/protocol

Traits§

RSocketFlags
Utility trait to check the flags of a frame.

Functions§

ex_err
A utility method for creating an Error::Extra variant.

Type Aliases§

FrameFlags
The type that holds the bitmask for Frame flags.