Enum jsonrpc_core::RemoteProcedure [−][src]
pub enum RemoteProcedure<T: Metadata> { Method(Arc<dyn RpcMethod<T>>), Notification(Arc<dyn RpcNotification<T>>), Alias(String), }
Possible Remote Procedures with Metadata
Variants
A method call
Notification(Arc<dyn RpcNotification<T>>)
A notification
Alias(String)
An alias to other method,
Trait Implementations
impl<T: Clone + Metadata> Clone for RemoteProcedure<T>
[src]
impl<T: Clone + Metadata> Clone for RemoteProcedure<T>
[src]