MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / as_str

Method as_str

nodedb-vector/src/rerank/codec.rs:19–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

17
18impl CodecName {
19 pub fn as_str(self) -> &'static str {
20 match self {
21 CodecName::Sq8 => "sq8",
22 CodecName::Pq => "pq",
23 CodecName::Binary => "binary",
24 CodecName::RaBitQ => "rabitq",
25 CodecName::Bbq => "bbq",
26 }
27 }
28}
29
30/// Prepared query form — opaque payload held by the caller between

Callers 3

parseMethod · 0.45
stable_predicatesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected