MCPcopy Create free account

hub / github.com/Hexilee/async-io-demo / functions

Functions60 in github.com/Hexilee/async-io-demo

↓ 9 callersMethodpoll
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, )
src/executor.rs:519
↓ 8 callersMethodregister
( &self, poll: &Poll, token: Token, interest: Ready, opts: PollOpt,
src/executor.rs:314
↓ 8 callersFunctionspawn
(task: F)
src/executor.rs:229
↓ 4 callersMethodaccept
(&mut self)
src/executor.rs:416
↓ 4 callersMethodclose
(&self)
src/fs.rs:86
↓ 4 callersMethodgen_waker
(&self)
src/executor.rs:114
↓ 4 callersFunctionregister_source
( evented: T, waker: Waker, interest: Ready, )
src/executor.rs:266
↓ 4 callersMethodwrite
(&mut self, data: Vec<u8>)
src/executor.rs:434
↓ 3 callersFunctionindex_from_source_token
panic when token is ord
src/executor.rs:29
↓ 3 callersMethodjoin
(self)
src/fs.rs:92
↓ 3 callersMethodread
(&mut self)
src/executor.rs:430
↓ 3 callersMethodread_to_string
(&self, file: File, callback: F)
src/fs.rs:77
↓ 2 callersFunctionblock_on
(main_task: F)
src/executor.rs:150
↓ 2 callersMethodderegister
(&self, poll: &Poll)
src/executor.rs:334
↓ 2 callersFunctionfs_async
()
src/fs.rs:17
↓ 2 callersFunctionis_source
(token: Token)
src/executor.rs:44
↓ 2 callersFunctionis_task
(token: Token)
src/executor.rs:48
↓ 2 callersMethodopen
(&self, path: &str, callback: F)
src/fs.rs:66
↓ 2 callersMethodprintln
(&self, string: String)
src/fs.rs:62
↓ 2 callersFunctionread_to_string
(file_name: String)
src/fs_future.rs:69
↓ 2 callersMethodreregister
( &self, poll: &Poll, token: Token, interest: Ready, opts: PollOpt,
src/executor.rs:324
↓ 2 callersFunctionreregister_source
panic when token is ord
src/executor.rs:288
↓ 2 callersMethodwrite_str
(&mut self, data: &str)
src/executor.rs:438
↓ 1 callersFunctiondrop_source
panic when token is ord
src/executor.rs:302
↓ 1 callersMethodexec
(&mut self)
src/fs_future.rs:59
↓ 1 callersFunctionfab
(mut n: u64)
examples/fab.rs:19
↓ 1 callersFunctionget_source_token
(index: usize)
src/executor.rs:20
↓ 1 callersFunctionget_task_token
(index: usize)
src/executor.rs:24
↓ 1 callersFunctionhandle_stream
(mut stream: TcpStream)
examples/file-server.rs:26
↓ 1 callersFunctionindex_from_task_token
panic when token is not ord
src/executor.rs:37
↓ 1 callersFunctionnew_server
()
examples/file-server.rs:16
↓ 1 callersMethodpoll_accept
(&mut self, waker: Waker)
src/executor.rs:379
↓ 1 callersMethodread_poll
(&mut self, waker: Waker)
src/executor.rs:453
↓ 1 callersMethodread_to_string
(&self, file: File, callback: F)
src/fs_mio.rs:117
↓ 1 callersFunctionsend_block_task
(task: T)
src/fs_future.rs:35
↓ 1 callersMethodwrite_poll
(&mut self, data: &[u8], waker: Waker)
src/executor.rs:488
Methodbind
(addr: &SocketAddr)
src/executor.rs:401
Functionclone_raw
(ptr: *const ())
src/executor.rs:102
Methodclose
(self)
src/executor.rs:445
Methodclose
(&self)
src/fs_mio.rs:126
Functiondrop_raw
(_ptr: *const ())
src/executor.rs:106
Functionfs_async
()
src/fs_mio.rs:21
Methodjoin
(self)
src/fs_mio.rs:132
Methodlocal_addr
(&self)
src/executor.rs:406
Functionmain
()
examples/poll-timeout.rs:5
Functionmain
()
examples/spurious-events.rs:9
Functionmain
()
examples/fs.rs:6
Functionmain
()
examples/tcp.rs:13
Functionmain
()
examples/file-server.rs:8
Functionmain
()
examples/fab.rs:6
Functionmain
()
examples/fs-mio.rs:6
Functionmain
()
examples/async-echo.rs:7
Methodnew
()
src/executor.rs:125
Methodnew
()
src/fs_future.rs:18
Methodopen
(&self, path: &str, callback: F)
src/fs_mio.rs:106
Methodpoll
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, )
src/fs_future.rs:86
Methodprintln
(&self, string: String)
src/fs_mio.rs:102
Methodset_ttl
(&self, ttl: u32)
src/executor.rs:412
Methodttl
(&self)
src/executor.rs:409
Functionwake
(ptr: *const ())
src/executor.rs:108