Enum ubiquity::error::SyncError [] [src]

pub enum SyncError {
    PathModified(PathBuf),
    IoError(ErrorOption<String>),
    RootDoesntExist(PathBuf),
    AbsolutePathProvided(PathBuf),
    ArchiveReadError(ReadError),
    ArchiveWriteError(WriteError),
    Cancelled,
    WalkDirError(WalkDirError),
}

The many causes for an error during the synchronization process

Variants

PathModified(PathBuf)IoError(ErrorOption<String>)RootDoesntExist(PathBuf)AbsolutePathProvided(PathBuf)ArchiveReadError(ReadError)ArchiveWriteError(WriteError)Cancelled

The requested operation was cancelled before it could be completed.

WalkDirError(WalkDirError)

Trait Implementations

impl Debug for SyncError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<Error> for SyncError
[src]

fn from(e: Error) -> Self

Performs the conversion.

impl From<(Error, String)> for SyncError
[src]

fn from(e: (Error, String)) -> Self

Performs the conversion.

impl From<ReadError> for SyncError
[src]

fn from(e: ReadError) -> Self

Performs the conversion.

impl From<WriteError> for SyncError
[src]

fn from(e: WriteError) -> Self

Performs the conversion.

impl From<WalkDirError> for SyncError
[src]

fn from(e: WalkDirError) -> Self

Performs the conversion.

impl Display for SyncError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.