Skip to main content

Crate fidl_next_examples_keyvaluestore_additerator

Crate fidl_next_examples_keyvaluestore_additerator 

Source

Re-exports§

pub use self::natural::*;

Modules§

compat
Compatibility shims which mimic some API surfaces of the current Rust bindings.
generic
iterator
natural
store
wire
wire_optional

Structs§

Item
An item in the store. The key must match the regex ^[A-z][A-z0-9_\.\/]{2,62}[A-z0-9]$. That is, it must start with a letter, end with a letter or number, contain only letters, numbers, periods, and slashes, and be between 4 and 64 characters long.
Iterator
The type corresponding to the Iterator protocol. An iterator for the key-value store. Note that this protocol makes no guarantee of atomicity - the values may change between pulls from the iterator. Unlike the Store protocol above, this protocol is not @discoverable: it is not independently published by the component that implements it, but rather must have one of its two protocol ends transmitted over an existing FIDL connection.
IteratorGetResponse
Store
The type corresponding to the Store protocol. A key-value store which supports insertion and iteration.
StoreIterateResponse
StoreWriteItemRequest
StoreWriteItemResponse

Enums§

IterateConnectionError
An enumeration of things that may go wrong when trying to create an iterator.
WriteError
An enumeration of things that may go wrong when trying to write a value to our store.

Traits§

IteratorClientHandler
A client handler for the Iterator protocol.
IteratorServerHandler
A server handler for the Iterator protocol.
StoreClientHandler
A client handler for the Store protocol.
StoreServerHandler
A server handler for the Store protocol.