Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/async-rs/async-macros
/ functions
Functions
12 in github.com/async-rs/async-macros
⨍
Functions
12
◇
Types & classes
3
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/poll_fn.rs:43
Function
main
()
examples/main.rs:1
Method
new
(left: L, right: R)
src/join_stream.rs:19
Method
new
Create a new instance of `MaybeDone`.
src/maybe_done.rs:27
Method
output
(self: Pin<&Self>)
src/maybe_done.rs:36
Method
output_mut
(self: Pin<&mut Self>)
src/maybe_done.rs:49
Method
poll
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/poll_fn.rs:54
Method
poll
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/maybe_done.rs:83
Function
poll_fn
Creates a new future wrapping around a function returning [`Poll`]. Polling the returned future delegates to the wrapped function. # Examples ``` #
src/poll_fn.rs:35
Method
poll_next
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/join_stream.rs:31
Function
should_work
()
tests/test.rs:4
Method
take
(self: Pin<&mut Self>)
src/maybe_done.rs:62