Enum bootimage::builder::error::DiskImageError[][src]

pub enum DiskImageError {
    LlvmToolsNotFound,
    LlvmTools(Error),
    LlvmObjcopyNotFound,
    ObjcopyFailed {
        stderr: Vec<u8>,
    },
    Io {
        message: &'static str,
        error: Error,
    },
}

Creating the disk image failed.

Variants

LlvmToolsNotFound

The llvm-tools-preview rustup component was not found

LlvmTools(Error)

There was another problem locating the llvm-tools-preview rustup component

LlvmObjcopyNotFound

The llvm-tools component did not contain the required llvm-objcopy executable

ObjcopyFailed

The llvm-objcopy command failed

Fields of ObjcopyFailed

stderr: Vec<u8>

The output of llvm-objcopy to standard error

Io

An unexpected I/O error occurred

Fields of Io

message: &'static str

Desciption of the failed I/O operation

error: Error

The I/O error that occured

Trait Implementations

impl Debug for DiskImageError[src]

impl Display for DiskImageError[src]

impl Error for DiskImageError[src]

impl From<DiskImageError> for CreateBootimageError[src]

impl From<Error> for DiskImageError[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, U> Into<U> for T where
    U: From<T>, 
[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.