Enum jsonrpc_core::RemoteProcedure [] [src]

pub enum RemoteProcedure<T: Metadata> {
    Method(Arc<RpcMethod<T>>),
    Notification(Arc<RpcNotification<T>>),
    Alias(String),
}

Possible Remote Procedures with Metadata

Variants

A method call

A notification

An alias to other method,

Trait Implementations

impl<T: Clone + Metadata> Clone for RemoteProcedure<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more