Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexcrichton/green-rs
/ functions
Functions
573 in github.com/alexcrichton/green-rs
⨍
Functions
573
◇
Types & classes
151
Method
new
Create a new uv_idle_t handle. This function is unsafe as a successful return value is not automatically deallocated.
librustuv/src/raw/idle.rs:25
Method
new
Create a new uv_tcp_t handle. This function is unsafe as a successful return value is not automatically deallocated.
librustuv/src/raw/tcp.rs:27
Method
new
Create a new uv event loop. This function is unsafe becuase it will leak the event loop as there is no destructor on the returned value.
librustuv/src/raw/loop_.rs:25
Method
new
Create a new uv_timer_t handle. This function is unsafe as a successful return value is not automatically deallocated.
librustuv/src/raw/timer.rs:25
Method
new
(pool_id: uint, event_loop: Box<EventLoop + Send>, work_queue: deque::Worker<Box
libgreen/src/sched.rs:128
Method
new
Returns the default configuration, as determined the environment variables of this process.
libgreen/src/lib.rs:353
Method
new
()
libgreen/src/sleeper_list.rs:23
Method
new
Allocate a new stack of `size`. If size = 0, this will fail. Use `dummy_stack` if you want a zero-sized stack.
libgreen/src/stack.rs:42
Method
new
()
libgreen/src/basic.rs:42
Method
new
Creates a new green task which is not homed to any particular scheduler and will not have any contained Task structure.
libgreen/src/task.rs:180
Method
new
Create a new context that will resume execution by running proc() The `init` function will be run with `arg` and the `start` procedure split up into
libgreen/src/context.rs:52
Method
new_homed
Creates a new task (like `new`), but specifies the home for new task.
libgreen/src/task.rs:187
Method
new_on
Same as `new`, but specifies what event loop to be created on.
librustuv/src/async.rs:40
Method
new_on
Same as `new`, but specifies what event loop to be created on.
librustuv/src/tty.rs:31
Method
new_on
(eloop: &mut EventLoop)
librustuv/src/signal.rs:34
Method
new_on
(eloop: &mut EventLoop, cb: Box<Callback + Send>)
librustuv/src/idle.rs:26
Method
new_on
Same as `new`, but specifies what event loop to be created on.
librustuv/src/timer.rs:46
Method
new_special
(pool_id: uint, event_loop: Box<EventLoop + Send>, work_queue: d
libgreen/src/sched.rs:141
Method
new_typed
Creates a new green task with the specified coroutine and type, this is useful when creating scheduler tasks.
libgreen/src/task.rs:210
Function
no_missed_messages
()
libgreen/src/sched.rs:1300
Method
nodelay
(&mut self, enabled: bool)
librustuv/src/tcp.rs:175
Method
nodelay
(&mut self, enable: bool)
librustuv/src/raw/tcp.rs:40
Function
on_appropriate_sched
Grab both the scheduler and the task from TLS and check if the task is executing on an appropriate scheduler.
libgreen/src/sched.rs:1193
Function
on_exit
(handle: *mut uvll::uv_process_t, exit_status: i64, term_signal: libc::c_i
librustuv/src/process.rs:132
Method
oneshot
Schedule a callback to be run once after the specified duration has elapsed. See [`std::io::Timer::oneshot`][1] for semantic information. [1]: http:
librustuv/src/timer.rs:101
Method
onetime
(handle: *mut uvll::uv_idle_t)
librustuv/src/event_loop.rs:113
Method
open
(&mut self, sock: uvll::uv_os_socket_t)
librustuv/src/raw/udp.rs:33
Method
open
(&mut self, file: libc::c_int)
librustuv/src/raw/pipe.rs:33
Method
open
(&mut self, uv_loop: Loop, path: CString, flags: c_int, mode: c_int, cb: uvll:
librustuv/src/raw/fs.rs:101
Method
open
(&mut self, sock: uvll::uv_os_socket_t)
librustuv/src/raw/tcp.rs:33
Method
open_mode
(path: &Path, mode: io::FileMode, access: io::FileAccess)
librustuv/src/fs.rs:39
Method
open_mode_on
(eloop: &mut EventLoop, path: &Path, mode: io::FileMode,
librustuv/src/fs.rs:46
Method
open_on
(eloop: &mut EventLoop, file: libc::c_int)
librustuv/src/pipe.rs:79
Method
open_on
(eloop: &mut EventLoop, file: libc::c_int)
librustuv/src/tcp.rs:82
Method
path
(&self)
librustuv/src/fs.rs:84
Method
path
(&'a self)
librustuv/tests/fs.rs:34
Method
pausable_idle_callback
(&mut self, cb: Box<green::Callback + Send>)
librustuv/src/event_loop.rs:123
Method
pause
(&mut self)
librustuv/src/idle.rs:45
Function
peer_name
(addr: SocketAddr)
librustuv/tests/tcp.rs:474
Method
periodic
Schedule a callback to be run after each `dur` amount of time that passes. See [`std::io::Timer::periodic`][1] for semantic information. [1]: http:/
librustuv/src/timer.rs:120
Method
pid
(&self)
librustuv/src/raw/process.rs:28
Method
push
(&self, t: UvResult<T>)
librustuv/src/timeout.rs:423
Method
push
(&self, t: T)
libgreen/src/message_queue.rs:58
Method
raw
Gain access to the underlying raw async handle. This function is unsafe as there is no guarantee that any safe modifications to the async handle are
librustuv/src/async.rs:60
Method
raw
Gain access to the underlying raw signal handle. This function is unsafe as there is no guarantee that any safe modifications to the signal handle ar
librustuv/src/signal.rs:86
Method
raw
Gain access to the underlying raw idle handle. This function is unsafe as there is no guarantee that any safe modifications to the idle handle are ac
librustuv/src/idle.rs:41
Method
raw
Gain access to the underlying raw timer handle. This function is unsafe as there is no guarantee that any safe modifications to the timer handle are
librustuv/src/timer.rs:143
Method
raw
(&self)
librustuv/src/raw/udp.rs:134
Method
raw
(&self)
librustuv/src/raw/process.rs:54
Method
raw
(&self)
librustuv/src/raw/async.rs:43
Method
raw
(&self)
librustuv/src/raw/tty.rs:67
Method
raw
(&self)
librustuv/src/raw/pipe.rs:55
Method
raw
(&self)
librustuv/src/raw/getaddrinfo.rs:49
Method
raw
(&self)
librustuv/src/raw/signal.rs:54
Method
raw
(&self)
librustuv/src/raw/udp_send.rs:48
Method
raw
(&self)
librustuv/src/raw/idle.rs:49
Method
raw
(&self)
librustuv/src/raw/fs.rs:301
Method
raw
(&self)
librustuv/src/raw/write.rs:42
Method
raw
(&self)
librustuv/src/raw/tcp.rs:95
Method
raw
(&self)
librustuv/src/raw/shutdown.rs:38
Method
raw
(&self)
librustuv/src/raw/timer.rs:65
Method
read
(&mut self, buf: &mut [u8])
librustuv/src/stream.rs:70
Method
read
(&mut self, uv_loop: Loop, file: c_int, buf: &mut [u8], offset: i64, cb: uvll::uv_fs_cb)
librustuv/src/raw/fs.rs:111
Function
read_cb
When a stream has read some data, we will always forcibly stop reading and return all the data read (even if it didn't fill the whole buffer).
librustuv/src/stream.rs:158
Method
readdir
(&mut self, uv_loop: Loop, path: CString, flags: c_int, cb: uvll::uv_fs_cb)
librustuv/src/raw/fs.rs:164
Method
readlink
(&mut self, uv_loop: Loop, path: CString, cb: uvll::uv_fs_cb)
librustuv/src/raw/fs.rs:230
Method
reawaken_remotely
This function is used to remotely wakeup this green task back on to its original pool of schedulers. In order to do so, each tasks arranges a SchedHan
libgreen/src/task.rs:365
Method
recv_cb
(handle: *mut uvll::uv_udp_t, nread: libc::ssize_t, buf: *const uvll::uv_buf_t,
librustuv/src/udp.rs:109
Method
recv_from
(&mut self, buf: &mut [u8])
librustuv/src/udp.rs:75
Method
remote_callback
(&mut self, f: Box<green::Callback + Send>)
librustuv/src/event_loop.rs:129
Method
rename
(&mut self, uv_loop: Loop, path: CString, new_path: CString, cb: uvll::uv_fs_cb)
librustuv/src/raw/fs.rs:200
Function
request_sanity_check
()
librustuv/src/uvll.rs:395
Method
reset_mode
()
librustuv/src/raw/tty.rs:34
Method
resume
(&mut self)
librustuv/src/idle.rs:46
Method
resume_task_immediately_cl
(sched: Box<Scheduler>, cur: Box<GreenTask>,
libgreen/src/sched.rs:711
Method
rmdir
(&mut self, uv_loop: Loop, path: CString, cb: uvll::uv_fs_cb)
librustuv/src/raw/fs.rs:155
Function
rmdir_recursive
Removes a directory at this path, after removing all its contents. Use carefully! # Error See `file::unlink` and `fs::readdir`
librustuv/src/fs.rs:402
Method
run
(&mut self)
libgreen/src/basic.rs:106
Method
run_task_later
(mut cur: Box<GreenTask>, next: Box<GreenTask>)
libgreen/src/sched.rs:823
Function
runtest
(p: proc(): Send)
librustuv/tests/all.rs:40
Method
seek
(&mut self, pos: i64, whence: io::SeekStyle)
librustuv/src/fs.rs:177
Method
send
(&mut self, uv_loop: &Loop, node: Option<&str>, service: Optio
librustuv/src/raw/getaddrinfo.rs:21
Method
send
(&mut self, handle: Udp, buf: &[u8], addr: ip::SocketAddr,
librustuv/src/raw/udp_send.rs:23
Method
send
(&mut self, handle: &mut U, buf: &[u8], cb:
librustuv/src/raw/write.rs:21
Method
send
(&mut self, handle: &mut U, cb: uvll::uv_shutdown_cb)
librustuv/src/raw/shutdown.rs:19
Method
send_cb
(req: *mut uvll::uv_udp_send_t, status: libc::c_int)
librustuv/src/udp.rs:161
Method
send_task_home
(task: Box<GreenTask>)
libgreen/src/sched.rs:557
Method
send_to
(&mut self, buf: &[u8], dst: ip::SocketAddr)
librustuv/src/udp.rs:140
Function
sender
(tx: Sender<()>)
librustuv/tests/signal.rs:8
Function
sender
(tx: Sender<()>)
librustuv/tests/timer.rs:6
Method
set_data
(&mut self, data: *mut libc::c_void)
librustuv/src/raw/mod.rs:84
Method
set_data
(&mut self, data: *mut libc::c_void)
librustuv/src/raw/mod.rs:128
Method
set_raw
(&mut self, raw: bool)
librustuv/src/tty.rs:74
Method
set_read_timeout
(&mut self, dur: Option<Duration>)
librustuv/src/udp.rs:208
Method
set_read_timeout
(&mut self, dur: Option<Duration>)
librustuv/src/pipe.rs:167
Method
set_read_timeout
(&mut self, dur: Option<Duration>)
librustuv/src/tcp.rs:152
Method
set_repeat
(&mut self, repeat: u64)
librustuv/src/raw/timer.rs:44
Method
set_timeout
(&mut self, timeout: Option<u64>)
librustuv/src/process.rs:276
Method
set_timeout
Sets the pending timeout to the value specified. The home/loop variables are used to construct a timer if one has not been previously constructed. T
librustuv/src/timeout.rs:118
Function
shutdown_cb
(req: *mut uvll::uv_shutdown_t, status: libc::c_int)
librustuv/src/tcp.rs:383
← previous
next →
401–500 of 573, ranked by callers