pub struct SinkCall<R: ReplySink> { /* private fields */ }Expand description
Concrete Call implementation backed by a ReplySink.
Constructed by the dispatcher and handed to the server method.
When the server calls Call::reply, the result is serialized and
sent through the sink.
Implementations§
Trait Implementations§
Source§impl<'wire, T, E, R> Call<'wire, T, E> for SinkCall<R>
impl<'wire, T, E, R> Call<'wire, T, E> for SinkCall<R>
Auto Trait Implementations§
impl<R> Freeze for SinkCall<R>where
R: Freeze,
impl<R> RefUnwindSafe for SinkCall<R>where
R: RefUnwindSafe,
impl<R> Send for SinkCall<R>
impl<R> Sync for SinkCall<R>
impl<R> Unpin for SinkCall<R>where
R: Unpin,
impl<R> UnsafeUnpin for SinkCall<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for SinkCall<R>where
R: 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