Enum popsicle::DiskError [] [src]

pub enum DiskError {
    Directory {
        dir: &'static str,
        why: Error,
    },
    UTF8 {
        dir: PathBuf,
    },
    NoDisk {
        disk: String,
        why: Error,
    },
    UnmountStatus {
        path: OsString,
        status: ExitStatus,
    },
    UnmountCommand {
        path: OsString,
        why: Error,
    },
    AlreadyMounted {
        arg: String,
        source: OsString,
        dest: OsString,
    },
    NotABlock {
        arg: String,
    },
    Metadata {
        arg: String,
        why: Error,
    },
    Open {
        disk: String,
        why: Error,
    },
    Write {
        disk: String,
        why: Error,
    },
    WriteEOF {
        disk: String,
    },
    Flush {
        disk: String,
        why: Error,
    },
    SeekInvalid {
        disk: String,
        invalid: u64,
    },
    Seek {
        disk: String,
        why: Error,
    },
    Verify {
        disk: String,
        why: Error,
    },
    VerifyEOF {
        disk: String,
    },
    VerifyMismatch {
        disk: String,
        x: usize,
        y: usize,
    },
}

Variants

Fields of Directory

Fields of UTF8

Fields of NoDisk

Fields of UnmountStatus

Fields of UnmountCommand

Fields of AlreadyMounted

Fields of NotABlock

Fields of Metadata

Fields of Open

Fields of Write

Fields of WriteEOF

Fields of Flush

Fields of SeekInvalid

Fields of Seek

Fields of Verify

Fields of VerifyEOF

Fields of VerifyMismatch

Trait Implementations

impl Debug for DiskError
[src]

[src]

Formats the value using the given formatter. Read more

impl Fail for DiskError
[src]

[src]

Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more

[src]

Returns a reference to the Backtrace carried by this failure, if it carries one. Read more

[src]

Provides context for this failure. Read more

[src]

Wraps this failure in a compatibility wrapper that implements std::error::Error. Read more

[src]

Returns a iterator over the causes of this Fail with itself as the first item and the root_cause as the final item. Read more

[src]

Returns the "root cause" of this Fail - the last value in the cause chain which does not return an underlying cause. Read more

impl Display for DiskError
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for DiskError

impl Sync for DiskError