pub trait BatchEndpoint {
type Item: SuotarRequestItem;
type Result: DeserializeOwned;
const ENDPOINT: SuotarEndpoint;
}Expand description
The item and result types of one endpoint, tied together so a caller cannot pair an import item with a verify result.
Required Associated Constants§
const ENDPOINT: SuotarEndpoint
Required Associated Types§
type Item: SuotarRequestItem
type Result: DeserializeOwned
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.