Skip to main content

decode_meta

Function decode_meta 

Source
pub fn decode_meta(payload: &[u8]) -> Option<LspCompletionMeta>
Expand description

Decode a payload produced by encode_meta. Returns None when the bytes don’t deserialise as LspCompletionMeta – the candidate’s kind_id may not be ours (plugin source colliding on the kind, or a stray payload), or the wire format may have drifted across versions.