#[non_exhaustive]pub enum ManifestPolicy {
Store,
MemberSetOnly,
StoreUpTo(usize),
}Expand description
How the engine stores the manifests of the slices its receipts read (CONTRACT-guard-patch G1). A member-set row (G2) is written for every slice read, whatever the policy.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Store
The manifest is stored, as today (datumesh-local keeps this one).
MemberSetOnly
No manifest is stored: the member-set row only; the members are rebuilt on demand.
StoreUpTo(usize)
The manifest is stored when the slice has at most this many members; a longer one is not.
Trait Implementations§
Source§impl Clone for ManifestPolicy
impl Clone for ManifestPolicy
impl Copy for ManifestPolicy
Source§impl Debug for ManifestPolicy
impl Debug for ManifestPolicy
Source§impl Default for ManifestPolicy
impl Default for ManifestPolicy
impl Eq for ManifestPolicy
Source§impl PartialEq for ManifestPolicy
impl PartialEq for ManifestPolicy
impl StructuralPartialEq for ManifestPolicy
Auto Trait Implementations§
impl Forget for ManifestPolicy
impl Freeze for ManifestPolicy
impl Move for ManifestPolicy
impl RefUnwindSafe for ManifestPolicy
impl Send for ManifestPolicy
impl Sync for ManifestPolicy
impl Unpin for ManifestPolicy
impl UnsafeUnpin for ManifestPolicy
impl UnwindSafe for ManifestPolicy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more