pub trait InterfaceMapping {
// Required methods
fn endpoint(&self) -> &Endpoint<String>;
fn mapping_type(&self) -> MappingType;
}Expand description
Mapping of an interface.
Required Methods§
Sourcefn mapping_type(&self) -> MappingType
fn mapping_type(&self) -> MappingType
Returns the mapping type.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".