Struct rustuv::net::TcpWatcher[src]
pub struct TcpWatcher {
// some fields omitted
}TCP implementation
pub struct TcpWatcher {
// some fields omitted
}TCP implementation
impl TcpWatcherfn new(io: &mut UvIoFactory) -> TcpWatcherfn connect(io: &mut UvIoFactory, address: SocketAddr, timeout: Option<u64>) -> Result<TcpWatcher, UvError>impl RtioSocket for TcpWatcherfn socket_name(&mut self) -> Result<SocketAddr, IoError>impl RtioTcpStream for TcpWatcherfn read(&mut self, buf: &mut [u8]) -> Result<uint, IoError>fn write(&mut self, buf: &[u8]) -> Result<(), IoError>fn peer_name(&mut self) -> Result<SocketAddr, IoError>fn control_congestion(&mut self) -> Result<(), IoError>fn nodelay(&mut self) -> Result<(), IoError>fn keepalive(&mut self, delay_in_seconds: uint) -> Result<(), IoError>fn letdie(&mut self) -> Result<(), IoError>fn clone(&self) -> Box<RtioTcpStream + Send>fn close_read(&mut self) -> Result<(), IoError>fn close_write(&mut self) -> Result<(), IoError>fn set_timeout(&mut self, timeout: Option<u64>)fn set_read_timeout(&mut self, ms: Option<u64>)fn set_write_timeout(&mut self, ms: Option<u64>)impl UvHandle<uv_tcp_t> for TcpWatcherfn uv_handle(&self) -> *uv_tcp_tfn uv_loop(&self) -> Loopfn alloc(_: Option<Self>, ty: uv_handle_type) -> *Tunsafe fn from_uv_handle<'a>(h: &'a *T) -> &'a mut Selffn install(~self) -> Box<Self>fn close_async_(&mut self)fn close(&mut self)impl Drop for TcpWatcherfn drop(&mut self)
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).