Module common

Source
Expand description

Common definitions used for views and backends. This provides some common code for the linera-views.

Enums§

Update
An update, for example to a view.

Traits§

CustomSerialize
Sometimes we need a serialization that is different from the usual one and for example preserves order. {to/from}_custom_bytes has to be coherent with the Borrow trait.
SliceExt
Extention trait for slices.

Functions§

from_bytes_option
Deserializes an optional vector of u8