Trait Algo

Source
pub trait Algo {
    type Params: Debug + Clone + Validate + DisplaySymbols + Serialize + DeserializeOwned + JsonSchema + Send + 'static;
    type Status: Debug + Clone + Default + Serialize + DeserializeOwned + JsonSchema;

    const NAME: &'static str;
}

Required Associated Constants§

Source

const NAME: &'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.

Implementations on Foreign Types§

Source§

impl Algo for ()

Source§

const NAME: &'static str = "UNKNOWN"

Source§

type Params = ()

Source§

type Status = ()

Implementors§