Trait mz_persist_types::Opaque

source ·
pub trait Opaque:
    PartialEq
    + Clone
    + Sized
    + 'static {
    // Required method
    fn initial() -> Self;
}
Expand description

An opaque fencing token used in compare_and_downgrade_since.

Required Methods§

source

fn initial() -> Self

The value of the opaque token when no compare_and_downgrade_since calls have yet been successful.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Opaque for i64

source§

fn initial() -> Self

source§

impl Opaque for u64

source§

fn initial() -> Self

Implementors§