pub trait FlowContractProvider {
const FLOW_CONTRACT: FlowContract;
}Expand description
A handle can expose its data-flow contract once; registration faces then read it without repeating input/output strings. handle 只需声明一次数据流合同;注册面直接读取,不重复填写输入输出字符串。
Required Associated Constants§
Sourceconst FLOW_CONTRACT: FlowContract
const FLOW_CONTRACT: FlowContract
The one contract this face declares, exposed as a compile-time constant. 本面声明的那一份合同,以编译期常量形式暴露。
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".