MutInPlaceCell is a zero overhead version of RefCell that
requires you to make modifications from within a closure
to avoid leaking references unsafely.
RuntimeHandle is a handle to an instance of the async runtime that lets
you spawn tasks on it from another thread. Use open_channel,
open_channel_sync or uringtokio::UringRuntimeHandle::open_channel to
create a channel to spawn tasks on the runtime. You will pass a closure
that will receive values from the client thread but will be executed on the
uringruntime thread. Call invoke on the resulting channel to schedule
work on uringruntime and get the result.
A sender that can be used to send messages to an unbounded channel. If the
sender is dropped, the channel will be closed and any messages that are in
the channel will be dropped.
A buffer that can be prefixed with data. The primary use
case is when you want to create a protocol stack where
each layer can add additional data to the front of the
buffer without having to allocate or copy memory.
Creates a new channel. The channel can be used to send messages between
tasks. Sending blocks until the message is received. The channel is closed
when the sender is dropped or can be closed explicitly by the sender.
Creates a new unbounded channel. The channel can be used to send messages
between tasks. Sending never blocks. The channel is closed when the sender
is dropped or can be closed explicitly by the sender. Closing a channel
drops any messages that are in the channel.
Creates a new unbounded channel with a specified capacity. The channel can
be used to send messages between tasks. Sending never blocks. The channel is
closed when the sender is dropped or can be closed explicitly by the sender.
Closing a channel drops any messages that are in the channel.
Runs the given future until completion using the default configuration.
Returns None if shutdown_loop() is called.
Returns Some(Err) if the future panics.
Returns Some(Ok(Fut::Output)) if the future completes successfully.
Runs the given future until completion.
Returns None if shutdown_loop() is called.
Returns Some(Err) if the future panics.
Returns Some(Ok(Fut::Output)) if the future completes successfully.