pub enum RemoteProcedure<T: Metadata> {
Method(Arc<dyn RpcMethod<T>>),
Notification(Arc<dyn RpcNotification<T>>),
Alias(String),
}
Expand description
Possible Remote Procedures with Metadata
Variants§
Method(Arc<dyn RpcMethod<T>>)
A method call
Notification(Arc<dyn RpcNotification<T>>)
A notification
Alias(String)
An alias to other method,
Trait Implementations§
Source§impl<T: Clone + Metadata> Clone for RemoteProcedure<T>
impl<T: Clone + Metadata> Clone for RemoteProcedure<T>
Source§fn clone(&self) -> RemoteProcedure<T>
fn clone(&self) -> RemoteProcedure<T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<T> Freeze for RemoteProcedure<T>
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more