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: Metadata> Debug for RemoteProcedure<T>
[src][+]
Auto Trait Implementations
impl<T> !RefUnwindSafe for RemoteProcedure<T>
impl<T> Send for RemoteProcedure<T>
impl<T> Sync for RemoteProcedure<T>
impl<T> Unpin for RemoteProcedure<T>
impl<T> !UnwindSafe for RemoteProcedure<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,