Skip to main content

FunctionSpec

Trait FunctionSpec 

Source
pub trait FunctionSpec {
    type Args: Serialize;
    type Output: DeserializeOwned;

    const PATH: &'static str;
}

Required Associated Constants§

Source

const PATH: &'static str

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§