MCPcopy Create free account
hub / github.com/cel-rust/cel-rust / AsKeyRef

Interface AsKeyRef

cel/src/objects.rs:126–128  ·  view source on GitHub ↗

Trait for converting to a borrowed [`KeyRef`] for efficient lookups.

Source from the content-addressed store, hash-verified

124
125/// Trait for converting to a borrowed [`KeyRef`] for efficient lookups.
126pub trait AsKeyRef {
127 fn as_keyref(&self) -> KeyRef<'_>;
128}
129
130impl AsKeyRef for Key {
131 fn as_keyref(&self) -> KeyRef<'_> {

Callers

nothing calls this directly

Implementers 1

objects.rscel/src/objects.rs

Calls

no outgoing calls

Tested by

no test coverage detected