Skip to main content

ActionSpec

Trait ActionSpec 

Source
pub trait ActionSpec {
    type Params: Serialize + DeserializeOwned + DescribeParams;
    type Result: Serialize + DeserializeOwned + DescribeOk;

    const KIND: &'static str;

    // Provided methods
    fn action_kind() -> ActionKind { ... }
    fn descriptor() -> ActionDescriptor { ... }
}

Required Associated Constants§

Source

const KIND: &'static str

Required Associated Types§

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§