MCPcopy Create free account
hub / github.com/elastic/devfiler / read

Method read

src/storage/table.rs:384–390  ·  view source on GitHub ↗

Deserialize the value into an owned object.

(&self)

Source from the content-addressed store, hash-verified

382
383 /// Deserialize the value into an owned object.
384 pub fn read(&self) -> T
385 where
386 <T as rkyv::Archive>::Archived:
387 rkyv::Deserialize<T, rkyv::de::deserializers::SharedDeserializeMap>,
388 {
389 unsafe { rkyv::from_bytes_unchecked(self.data.as_ref()).unwrap() }
390 }
391}
392
393/// Convenience macro for defining a new table.

Callers 6

sample_eventsMethod · 0.80
getMethod · 0.80
draw_msg_listMethod · 0.80
query_executablesFunction · 0.80
monitor_executablesFunction · 0.80
ingestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected