pub struct RxRunner<'d> { /* private fields */ }Expand description
RX runner.
Holds the lower end of the channel for passing inbound packets up the stack.
Implementations§
Source§impl RxRunner<'_>
impl RxRunner<'_>
Sourcepub fn poll_rx_ready(&mut self, cx: &mut Context<'_>) -> Poll<()>
pub fn poll_rx_ready(&mut self, cx: &mut Context<'_>) -> Poll<()>
Poll whether there is space in the inbound queue.
Sourcepub fn try_rx_buf(&mut self) -> Option<PacketBuf>
pub fn try_rx_buf(&mut self) -> Option<PacketBuf>
Get an empty buffer from the stack, if there is one right now.
See rx_buf.
Sourcepub fn poll_rx_buf(&mut self, cx: &mut Context<'_>) -> Poll<PacketBuf>
pub fn poll_rx_buf(&mut self, cx: &mut Context<'_>) -> Poll<PacketBuf>
Poll for an empty buffer from the stack.
See rx_buf.
Auto Trait Implementations§
impl<'d> !RefUnwindSafe for RxRunner<'d>
impl<'d> !Send for RxRunner<'d>
impl<'d> !Sync for RxRunner<'d>
impl<'d> !UnwindSafe for RxRunner<'d>
impl<'d> Freeze for RxRunner<'d>
impl<'d> Unpin for RxRunner<'d>
impl<'d> UnsafeUnpin for RxRunner<'d>
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