Skip to main content

StubReflection

Trait StubReflection 

Source
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§

Source

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", so this trait is not object safe.

Implementors§

Source§

impl<TChannel: Channel> StubReflection for Core<'_, TChannel>

Source§

impl<TChannel: Channel> StubReflection for Mypluginname<'_, TChannel>

Source§

impl<TChannel: Channel> StubReflection for RemoteFortressReader<'_, TChannel>

Source§

impl<TChannel: Channel> StubReflection for Stubs<TChannel>