pub enum Call<N, R> {
Request(RequestId, R),
Notification(N),
}
Expand description
An RPC call, which may be either a notification or a request.
Variants§
Trait Implementations§
impl<N: Eq, R: Eq> Eq for Call<N, R>
impl<N, R> StructuralPartialEq for Call<N, R>
Auto Trait Implementations§
impl<N, R> Freeze for Call<N, R>
impl<N, R> RefUnwindSafe for Call<N, R>where
R: RefUnwindSafe,
N: RefUnwindSafe,
impl<N, R> Send for Call<N, R>
impl<N, R> Sync for Call<N, R>
impl<N, R> Unpin for Call<N, R>
impl<N, R> UnwindSafe for Call<N, R>where
R: UnwindSafe,
N: UnwindSafe,
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