[][src]Enum libpijul::Error

pub enum Error {
    FileAlreadyInRepo {
        path: String,
    },
    FileNotInRepo {
        path: String,
    },
    UnrecordedPath {
        path: String,
    },
    FileNotFound {
        path: String,
    },
    ChangeNotOnChannel {
        change_id: ChangeId,
    },
    ChangeIsDependedUpon {
        change_id: ChangeId,
    },
    ChangeNotFound {
        hash: String,
    },
    StateNotFound {
        state: Merkle,
    },
    ChangeHashMismatch {
        claimed: Hash,
        computed: Hash,
    },
    ContentsHashMismatch {
        claimed: Hash,
        computed: Hash,
    },
    ChangeAlreadyOnChannel {
        hash: Hash,
    },
    DependencyMissing {
        hash: Hash,
    },
    ChannelNameExists {
        name: String,
    },
    ParseError {
        s: String,
    },
    VerifyError {
        pk: String,
    },
    AmbiguousHashPrefix {
        prefix: String,
    },
    InconsistentChange,
    MissingContents {
        hash: String,
    },
    WrongBlock {
        block: Position<ChangeId>,
    },
    PristineCorrupt,
    VersionMismatch,
    PristineLocked,
}

Variants

FileAlreadyInRepo

Fields of FileAlreadyInRepo

path: String
FileNotInRepo

Fields of FileNotInRepo

path: String
UnrecordedPath

Fields of UnrecordedPath

path: String
FileNotFound

Fields of FileNotFound

path: String
ChangeNotOnChannel

Fields of ChangeNotOnChannel

change_id: ChangeId
ChangeIsDependedUpon

Fields of ChangeIsDependedUpon

change_id: ChangeId
ChangeNotFound

Fields of ChangeNotFound

hash: String
StateNotFound

Fields of StateNotFound

state: Merkle
ChangeHashMismatch

Fields of ChangeHashMismatch

claimed: Hashcomputed: Hash
ContentsHashMismatch

Fields of ContentsHashMismatch

claimed: Hashcomputed: Hash
ChangeAlreadyOnChannel

Fields of ChangeAlreadyOnChannel

hash: Hash
DependencyMissing

Fields of DependencyMissing

hash: Hash
ChannelNameExists

Fields of ChannelNameExists

name: String
ParseError

Fields of ParseError

s: String
VerifyError

Fields of VerifyError

pk: String
AmbiguousHashPrefix

Fields of AmbiguousHashPrefix

prefix: String
InconsistentChange
MissingContents

Fields of MissingContents

hash: String
WrongBlock

Fields of WrongBlock

block: Position<ChangeId>
PristineCorrupt
VersionMismatch
PristineLocked

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error[src]

Auto Trait Implementations

impl RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl UnwindSafe for Error

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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,