Enum codespan_lsp::Error[][src]

pub enum Error {
    SpanOutsideCodeMap(ByteIndex),
    UnableToCorrelateFilename(FileName),
    ByteIndexError(ByteIndexError),
    LocationError(LocationError),
    LineIndexError(LineIndexError),
}

Variants

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Error
[src]

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

This method tests for !=.

impl From<ByteIndexError> for Error
[src]

Performs the conversion.

impl From<LocationError> for Error
[src]

Performs the conversion.

impl From<LineIndexError> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error