mz_persist_types

Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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§