[][src]Module wascap_guest::prelude::keyvalue

Key-Value Store Data Types

This module contains data types for the wascap:keyvalue capability provider

Structs

AddRequest

A request to perform an atomic add operation

AddResponse

Result of an atomic add operation

DelRequest

A request to delete a key

DelResponse
GetRequest

A request to get a single value from the K/V store

GetResponse

The result of a get request

ListClearRequest

A request to clear a list at a given key

ListDelItemRequest

A request to delete all occurences of an item from a list

ListPushRequest

A request to add an item to the end of a list

ListRangeRequest

A request to retrieve a range of values from a list

ListRangeResponse

List of values returned from a range request

ListResponse

Return response from non-range list requests like push and clear

SetRequest

A request to set a value

SetResponse

Response to a set request

Constants

OP_ADD
OP_CLEAR
OP_DEL
OP_GET
OP_LIST_DEL
OP_PUSH
OP_RANGE
OP_SET