Struct vertree::Guard [] [src]

pub struct Guard {
    pub path: String,
    pub version: u64,
}

A Guard on a CAS operation

A guard is true if the current version of the node at path is the same as version.

Fields

Trait Implementations

impl Debug for Guard
[src]

Formats the value using the given formatter.

impl Clone for Guard
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Guard
[src]

impl PartialEq for Guard
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.