Trait garage_util::migrate::InitialFormat
source · pub trait InitialFormat: Serialize + for<'de> Deserialize<'de> + 'static {
const VERSION_MARKER: &'static [u8] = b"";
}
Expand description
Indicates that this type has no previous encoding version to be migrated from.
Provided Associated Constants§
sourceconst VERSION_MARKER: &'static [u8] = b""
const VERSION_MARKER: &'static [u8] = b""
A sequence of bytes to add at the beginning of the serialized string, to identify that the data is of this version.