Struct rustuv::stream::StreamWatcher[src]
pub struct StreamWatcher {
pub handle: *uv_stream_t,
// some fields omitted
}Fields
handle |
pub struct StreamWatcher {
pub handle: *uv_stream_t,
// some fields omitted
}handle |
impl StreamWatcherfn new(stream: *uv_stream_t) -> StreamWatcherfn read(&mut self, buf: &mut [u8]) -> Result<uint, UvError>fn cancel_read(&mut self, reason: ssize_t) -> Option<BlockedTask>fn write(&mut self, buf: &[u8], may_timeout: bool) -> Result<(), UvError>fn cancel_write(&mut self) -> Option<BlockedTask>
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).