Enum libpijul::record::InodeUpdate[][src]

pub enum InodeUpdate {
    Add {
        pos: ChangePosition,
        inode: Inode,
    },
    Deleted {
        inode: Inode,
    },
}
Expand description

An account of the files that have been added, moved or deleted, as returned by record, and used by apply (when applying a change created locally) to update the trees and inodes databases.

Variants

Add
Show fields

Fields of Add

pos: ChangePosition

Inode vertex in the graph.

inode: Inode

Inode added by this file addition.

Deleted
Show fields

Fields of Deleted

inode: Inode

Inode of the deleted file.

Trait Implementations

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.