Skip to main content

Module ops

Module ops 

Expand description

Serializable operations for mutating session state.

Re-exportsยง

pub use self::buf::OpsBuf;alloc
pub use self::slice::Ops;
pub use self::slice::OpsIter;

Modulesยง

buf ๐Ÿ”’ alloc
op_code ๐Ÿ”’
slice ๐Ÿ”’

Enumsยง

Layout ๐Ÿ”’
The encoding of ops in a journal format version.
Modify
An Op that changes or removes stored data, applied with State::modify.
Op
A mutation to session state, in a form that can be serialized and replayed.
OpDecodeError
Why encoded journal-op bytes could not be decoded.
Store
An Op that stores new data, applied with State::store.

Functionsยง

decode_filter_state ๐Ÿ”’
decode_restore ๐Ÿ”’
decode_spec ๐Ÿ”’
decode_store_outbox ๐Ÿ”’
decode_u32_prefixed ๐Ÿ”’
encode_filter ๐Ÿ”’
encode_filter_state ๐Ÿ”’
encode_publish ๐Ÿ”’
encode_restore ๐Ÿ”’
encode_spec ๐Ÿ”’
read_filter ๐Ÿ”’
read_owner ๐Ÿ”’
Reads the packet id of a pending filter state.
read_packet_id ๐Ÿ”’