Enum distant_core::LspDataParseError [−][src]
pub enum LspDataParseError {
    BadContent(LspContentParseError),
    BadHeader(LspHeaderParseError),
    BadHeaderTermination,
    BadInput(FromUtf8Error),
    IoError(Error),
    UnexpectedEof,
}Variants
BadContent(LspContentParseError)When the received content is malformed
Tuple Fields of BadContent
BadHeader(LspHeaderParseError)When the received header is malformed
Tuple Fields of BadHeader
When a header line is not terminated in \r\n
BadInput(FromUtf8Error)When input fails to be in UTF-8 format
Tuple Fields of BadInput
IoError(Error)When some unexpected I/O error encountered
Tuple Fields of IoError
0: ErrorWhen EOF received before data fully acquired
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.