Enum cov::error::Location[][src]

pub enum Location {
    None,
    Cursor(u64),
    RecordIndex(usize),
    File(PathBuf),
}

The location where an error happened.

Variants

No source location.

Cursor position in a file.

Record index in a GCNO/GCDA file.

Path to a GCNO/GCDA file.

Methods

impl Location
[src]

Annotates the result with context information.

Annotates the error with context information.

Trait Implementations

impl Clone for Location
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Location
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Location
[src]

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

This method tests for !=.

impl Eq for Location
[src]

impl Hash for Location
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Location

impl Sync for Location