pub trait RpcExtension<M = ()> where
    M: Metadata
{ fn augment<S>(self, handler: &mut MetaIoHandler<M, S>)
    where
        S: Middleware<M>
; }
Expand description

A type that can augment MetaIoHandler.

This allows your code to accept generic extensions for IoHandler and compose them to create the RPC server.

Required methods

Extend given handler with additional methods.

Implementations on Foreign Types

Implementors