pub trait StubReflection {
// Required method
fn list_methods() -> Vec<RemoteProcedureDescriptor>;
}Expand description
Ability for a stub to list its supported methods
This is mostly useful for testing purpose.
Required Methods§
Sourcefn list_methods() -> Vec<RemoteProcedureDescriptor>
fn list_methods() -> Vec<RemoteProcedureDescriptor>
List the supported remote calls
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".