Enum exocore_transport::transport::OutEvent
source · pub enum OutEvent {
Message(OutMessage),
Reset,
}
Expand description
Event generated by client of transport to be handled by transport.
Variants§
Message(OutMessage)
Reset
Trait Implementations§
source§impl Sink<OutEvent> for MpscHandleSink
impl Sink<OutEvent> for MpscHandleSink
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: OutEvent) -> Result<(), Self::Error>
fn start_send(self: Pin<&mut Self>, item: OutEvent) -> 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 moreAuto Trait Implementations§
impl !RefUnwindSafe for OutEvent
impl Send for OutEvent
impl !Sync for OutEvent
impl Unpin for OutEvent
impl !UnwindSafe for OutEvent
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