Expand description
This crate contains members to aid in the construction of a Rust Lens Module.
Modules§
- Error types returned by lens_sdk.
- Option type returned by lens_sdk.
- Result type alias returned by lens_sdk.
Constants§
- A type id that donates the end of stream.
- A type id that denotes a simple string-based error.
- A type id that denotes a json value.
- A type id that denotes a nil value.
Functions§
- Allocate the given
size
number of bytes in memory and returns a pointer to the first byte. - Manually drop the memory of the given size at the given location.
- Manually drop the memory occupied by a transport buffer at the given location.
- Returns a nil pointer.
- Write the given
message
bytes to memory, returning a pointer to the first byte. - Read the data held at the given location in memory as the given
TOutput
type. - Write the given
message
bytes to memory, returning a pointer to the first byte.
Type Aliases§
- Alias for an sdk Error.
- Alias for an sdk Result.
- Alias for an sdk StreamOption.