Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Hexilee/async-io-demo
/ functions
Functions
60 in github.com/Hexilee/async-io-demo
⨍
Functions
60
◇
Types & classes
21
↓ 9 callers
Method
poll
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, )
src/executor.rs:519
↓ 8 callers
Method
register
( &self, poll: &Poll, token: Token, interest: Ready, opts: PollOpt,
src/executor.rs:314
↓ 8 callers
Function
spawn
(task: F)
src/executor.rs:229
↓ 4 callers
Method
accept
(&mut self)
src/executor.rs:416
↓ 4 callers
Method
close
(&self)
src/fs.rs:86
↓ 4 callers
Method
gen_waker
(&self)
src/executor.rs:114
↓ 4 callers
Function
register_source
( evented: T, waker: Waker, interest: Ready, )
src/executor.rs:266
↓ 4 callers
Method
write
(&mut self, data: Vec<u8>)
src/executor.rs:434
↓ 3 callers
Function
index_from_source_token
panic when token is ord
src/executor.rs:29
↓ 3 callers
Method
join
(self)
src/fs.rs:92
↓ 3 callers
Method
read
(&mut self)
src/executor.rs:430
↓ 3 callers
Method
read_to_string
(&self, file: File, callback: F)
src/fs.rs:77
↓ 2 callers
Function
block_on
(main_task: F)
src/executor.rs:150
↓ 2 callers
Method
deregister
(&self, poll: &Poll)
src/executor.rs:334
↓ 2 callers
Function
fs_async
()
src/fs.rs:17
↓ 2 callers
Function
is_source
(token: Token)
src/executor.rs:44
↓ 2 callers
Function
is_task
(token: Token)
src/executor.rs:48
↓ 2 callers
Method
open
(&self, path: &str, callback: F)
src/fs.rs:66
↓ 2 callers
Method
println
(&self, string: String)
src/fs.rs:62
↓ 2 callers
Function
read_to_string
(file_name: String)
src/fs_future.rs:69
↓ 2 callers
Method
reregister
( &self, poll: &Poll, token: Token, interest: Ready, opts: PollOpt,
src/executor.rs:324
↓ 2 callers
Function
reregister_source
panic when token is ord
src/executor.rs:288
↓ 2 callers
Method
write_str
(&mut self, data: &str)
src/executor.rs:438
↓ 1 callers
Function
drop_source
panic when token is ord
src/executor.rs:302
↓ 1 callers
Method
exec
(&mut self)
src/fs_future.rs:59
↓ 1 callers
Function
fab
(mut n: u64)
examples/fab.rs:19
↓ 1 callers
Function
get_source_token
(index: usize)
src/executor.rs:20
↓ 1 callers
Function
get_task_token
(index: usize)
src/executor.rs:24
↓ 1 callers
Function
handle_stream
(mut stream: TcpStream)
examples/file-server.rs:26
↓ 1 callers
Function
index_from_task_token
panic when token is not ord
src/executor.rs:37
↓ 1 callers
Function
new_server
()
examples/file-server.rs:16
↓ 1 callers
Method
poll_accept
(&mut self, waker: Waker)
src/executor.rs:379
↓ 1 callers
Method
read_poll
(&mut self, waker: Waker)
src/executor.rs:453
↓ 1 callers
Method
read_to_string
(&self, file: File, callback: F)
src/fs_mio.rs:117
↓ 1 callers
Function
send_block_task
(task: T)
src/fs_future.rs:35
↓ 1 callers
Method
write_poll
(&mut self, data: &[u8], waker: Waker)
src/executor.rs:488
Method
bind
(addr: &SocketAddr)
src/executor.rs:401
Function
clone_raw
(ptr: *const ())
src/executor.rs:102
Method
close
(self)
src/executor.rs:445
Method
close
(&self)
src/fs_mio.rs:126
Function
drop_raw
(_ptr: *const ())
src/executor.rs:106
Function
fs_async
()
src/fs_mio.rs:21
Method
join
(self)
src/fs_mio.rs:132
Method
local_addr
(&self)
src/executor.rs:406
Function
main
()
examples/poll-timeout.rs:5
Function
main
()
examples/spurious-events.rs:9
Function
main
()
examples/fs.rs:6
Function
main
()
examples/tcp.rs:13
Function
main
()
examples/file-server.rs:8
Function
main
()
examples/fab.rs:6
Function
main
()
examples/fs-mio.rs:6
Function
main
()
examples/async-echo.rs:7
Method
new
()
src/executor.rs:125
Method
new
()
src/fs_future.rs:18
Method
open
(&self, path: &str, callback: F)
src/fs_mio.rs:106
Method
poll
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, )
src/fs_future.rs:86
Method
println
(&self, string: String)
src/fs_mio.rs:102
Method
set_ttl
(&self, ttl: u32)
src/executor.rs:412
Method
ttl
(&self)
src/executor.rs:409
Function
wake
(ptr: *const ())
src/executor.rs:108