MCPcopy Create free account
hub / github.com/Rustixir/darkbird / into_raw

Method into_raw

src/darkbird/storage.rs:439–444  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

437 }
438
439 pub fn into_raw(self) -> (&'static str, K, Option<Doc>) {
440 match self {
441 RQuery::Insert(k, d) => (RQUERY_INSERT_TYPE, k, Some(d)),
442 RQuery::Remove(k) => (RQUERY_REMOVE_TYPE, k, None),
443 }
444 }
445
446}
447

Callers 1

stashMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected