[][src]Trait holochain_core::nucleus::ribosome::Defn

pub trait Defn: FromStr {
    fn as_str(&self) -> &'static str;
fn str_to_index(s: &str) -> usize;
fn from_index(i: usize) -> Self;
fn capability(&self) -> ReservedCapabilityNames; }

Required Methods

return the canonical name of this function definition

convert the canonical name of this function to an index

convert an index to the function definition

Implementors

impl Defn for ZomeApiFunction
[src]

impl Defn for Callback
[src]