Enum distant_core::LspSessionInfoError [−][src]
pub enum LspSessionInfoError {
NotInitializeRequest,
MissingSessionInfoParams,
InvalidSessionInfoParams,
SessionInfoParseError(SessionInfoParseError),
}
Variants
Encountered when attempting to create a session from a request that is not initialize
Encountered if missing session parameters within an initialize request
Encountered if session parameters are not expected types
SessionInfoParseError(SessionInfoParseError)
Encountered when failing to parse session
Tuple Fields of SessionInfoParseError
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LspSessionInfoError
impl Send for LspSessionInfoError
impl Sync for LspSessionInfoError
impl Unpin for LspSessionInfoError
impl UnwindSafe for LspSessionInfoError
Blanket Implementations
Mutably borrows from an owned value. Read more