Struct distant_core::LspHeader [−][src]
Expand description
Represents the header for LSP data
Fields
content_length: usize
Length of content part in bytes
content_type: Option<String>
Mime type of content part, defaulting to application/vscode-jsonrpc; charset=utf-8
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for LspHeader
impl UnwindSafe for LspHeader
Blanket Implementations
Mutably borrows from an owned value. Read more