pub trait TypedProcedure<Cx: TripleS + Clone, Output: Send + Sync + Serialize + Type, Arg: Send + Sync + DeserializeOwned + Type>: Procedure<Cx, Output, Arg> {
// Required method
fn specta_type(
&self,
name: Cow<'static, str>,
map: &mut TypeMap,
) -> FunctionDataType;
}
Expand description
A typed extension to Procedure
.
Required Methods§
Sourcefn specta_type(
&self,
name: Cow<'static, str>,
map: &mut TypeMap,
) -> FunctionDataType
fn specta_type( &self, name: Cow<'static, str>, map: &mut TypeMap, ) -> FunctionDataType
Get the FunctionDataType
of this procedure.