Enum up_rs::tasks::update_self::UpdateSelfError[][src]

pub enum UpdateSelfError {
    CreateDir {
        path: PathBuf,
    },
    CreateFile {
        path: PathBuf,
    },
    Copy,
    SetPermissions {
        path: PathBuf,
    },
    Rename {
        from: PathBuf,
        to: PathBuf,
    },
}

Errors thrown by this file.

Variants

CreateDir

Failed to create directory ‘{path}’

Fields of CreateDir

path: PathBuf
CreateFile

Failed to create file ‘{path}’

Fields of CreateFile

path: PathBuf
Copy

Failed to copy to destination file.

SetPermissions

Failed to set permissions for {path}.

Fields of SetPermissions

path: PathBuf
Rename

Failed to rename {from} to {to}.

Fields of Rename

from: PathBufto: PathBuf

Trait Implementations

impl Debug for UpdateSelfError[src]

impl Display for UpdateSelfError[src]

impl Error for UpdateSelfError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.