Enum profiler::err::ProfError [] [src]

pub enum ProfError {
    RegexError,
    InvalidProfiler,
    InvalidBinary,
    InvalidNum,
    InvalidSortMetric,
    IOError(ioError),
    UTF8Error,
    MisalignedData,
    CompilationError(StringString),
    TomlError,
    ReadManifestError,
    NoNameError,
    NoTargetDirectory,
    OutOfMemoryError,
    CliError,
}

Represents potential errors that may occur when profiling

Variants

RegexErrorInvalidProfilerInvalidBinaryInvalidNumInvalidSortMetricIOError(ioError)

Wraps a std::io::Error

UTF8ErrorMisalignedDataCompilationError(StringString)TomlErrorReadManifestErrorNoNameErrorNoTargetDirectoryOutOfMemoryErrorCliError

Trait Implementations

impl Debug for ProfError
[src]

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

Formats the value using the given formatter.

impl Display for ProfError
[src]

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

Formats the value using the given formatter.

impl Error for ProfError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

The lower-level cause of this error, if any. Read more

impl From<ioError> for ProfError
[src]

fn from(err: ioError) -> ProfError

Performs the conversion.