Struct ubiquity::detect::Difference [] [src]

pub struct Difference<N: NumRoots> {
    pub path: PathBuf,
    pub roots: GenericArray<PathBuf, N>,
    pub previous_state: Option<GenericArray<ArchiveEntryPerReplica, N>>,
    pub current_state: GenericArray<ArchiveEntryPerReplica, N>,
}

An instance of this struct represents the files/folders differ. There may be a suggested action to be taken.

Fields

The path at which the difference occurred

The roots of the syncing operation

The previous state that may be present from the archive

The current state of the files

Methods

impl<N: NumRoots> Difference<N>
[src]

Trait Implementations

impl<N: Debug + NumRoots> Debug for Difference<N>
[src]

Formats the value using the given formatter.

impl<N: Clone + NumRoots> Clone for Difference<N>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more