pub struct MultiplexRequest { /* private fields */ }Expand description
Multiplex request.
Trait Implementations§
Source§impl Sink<MultiplexRequest> for Protocol
impl Sink<MultiplexRequest> for Protocol
Source§fn poll_ready(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<Result<(), Self::Error>>
fn poll_ready( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<Result<(), Self::Error>>
Attempts to prepare the
Sink to receive a value. Read moreSource§fn start_send(
self: Pin<&mut Self>,
item: MultiplexRequest,
) -> Result<(), Self::Error>
fn start_send( self: Pin<&mut Self>, item: MultiplexRequest, ) -> Result<(), Self::Error>
Begin the process of sending a value to the sink.
Each call to this function must be preceded by a successful call to
poll_ready which returned Poll::Ready(Ok(())). Read moreSource§impl TagStore<MultiplexRequest, MultiplexResponse> for Protocol
impl TagStore<MultiplexRequest, MultiplexResponse> for Protocol
Source§fn assign_tag(self: Pin<&mut Self>, r: &mut MultiplexRequest) -> Self::Tag
fn assign_tag(self: Pin<&mut Self>, r: &mut MultiplexRequest) -> Self::Tag
Assign a fresh tag to the given
Request, and return that tag.Source§fn finish_tag(self: Pin<&mut Self>, r: &MultiplexResponse) -> Self::Tag
fn finish_tag(self: Pin<&mut Self>, r: &MultiplexResponse) -> Self::Tag
Retire and return the tag contained in the given
Response.Auto Trait Implementations§
impl Freeze for MultiplexRequest
impl !RefUnwindSafe for MultiplexRequest
impl Send for MultiplexRequest
impl !Sync for MultiplexRequest
impl Unpin for MultiplexRequest
impl !UnwindSafe for MultiplexRequest
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more