Enum symbolic_symcache::SymCacheErrorKind [] [src]

pub enum SymCacheErrorKind {
    BadFileMagic,
    BadFileHeader,
    BadSegment,
    BadCacheFile,
    UnsupportedVersion,
    BadDebugFile,
    MissingDebugSection,
    MissingDebugInfo,
    UnsupportedDebugKind,
    ValueTooLarge,
    WriteFailed,
}

Variants of SymCacheError.

Variants

Invalid magic bytes in the symcache header.

Invalid flags or fields in the symcache header.

A segment could not be read, likely due to IO errors.

Contents in the symcache file are malformed.

The symcache version is not known.

The Object contains invalid data and cannot be converted.

A required debug section is missing in the Object file.

The Object file was stripped of debug information.

The debug information in the Object file is not supported.

A value cannot be written to symcache as it overflows the data format.

Generic error when writing a symcache, most likely IO.

Trait Implementations

impl Debug for SymCacheErrorKind
[src]

[src]

Formats the value using the given formatter. Read more

impl Fail for SymCacheErrorKind
[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 SymCacheErrorKind
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for SymCacheErrorKind
[src]

impl Clone for SymCacheErrorKind
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for SymCacheErrorKind
[src]

impl PartialEq for SymCacheErrorKind
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl From<SymCacheErrorKind> for SymCacheError
[src]

[src]

Performs the conversion.

Auto Trait Implementations