Skip to main content

DispatchStringTuple

Trait DispatchStringTuple 

Source
pub trait DispatchStringTuple {
    type Error: Error;

    // Required method
    fn dispatch(
        &self,
        method: &str,
        arguments: &str,
    ) -> Result<String, Error<Self::Error>>;
}

Required Associated Types§

Required Methods§

Source

fn dispatch( &self, method: &str, arguments: &str, ) -> Result<String, Error<Self::Error>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§