var searchIndex = {}; searchIndex["mio"] = {"doc":"A fast, low-level IO library for Rust focusing on non-blocking APIs, event\nnotification, and other useful utilities for building high performance IO\napps.","items":[[8,"Buf","mio","A trait for values that provide sequential read access to bytes.",null,null],[10,"remaining","","Returns the number of bytes that can be accessed from the Buf",0,null],[10,"bytes","","Returns a slice starting at the current Buf position and of length\nbetween 0 and `Buf::remaining()`.",0,null],[10,"advance","","Advance the internal cursor of the Buf",0,null],[11,"has_remaining","","Returns true if there are any more bytes to consume",0,null],[11,"read_slice","","Read bytes from the `Buf` into the given slice and advance the cursor by\nthe number of bytes read.\nReturns the number of bytes read.",0,null],[11,"read_byte","","Read a single byte from the `Buf`",0,null],[8,"MutBuf","","A trait for values that provide sequential write access to bytes.",null,null],[10,"remaining","","Returns the number of bytes that can be written to the MutBuf",1,null],[10,"advance","","Advance the internal cursor of the MutBuf",1,null],[11,"has_remaining","","Returns true iff there is any more space for bytes to be written",1,null],[10,"mut_bytes","","Returns a mutable slice starting at the current MutBuf position and of\nlength between 0 and `MutBuf::remaining()`.",1,null],[11,"write_slice","","Write bytes from the given slice into the `MutBuf` and advance the\ncursor by the number of bytes written.\nReturns the number of bytes written.",1,null],[11,"write_byte","","Write a single byte to the `MuBuf`",1,null],[3,"Ipv4Addr","","Representation of an IPv4 address.",null,null],[3,"Ipv6Addr","","Representation of an IPv6 address.",null,null],[3,"PollOpt","","",null,null],[3,"EventSet","","",null,null],[3,"EventLoop","","Single threaded IO event loop.",null,null],[3,"EventLoopConfig","","Configure EventLoop runtime details",null,null],[12,"io_poll_timeout_ms","","",2,null],[12,"notify_capacity","","",2,null],[12,"messages_per_tick","","",2,null],[12,"timer_tick_ms","","",2,null],[12,"timer_wheel_size","","",2,null],[12,"timer_capacity","","",2,null],[3,"Sender","","Sends messages to the EventLoop from other threads.",null,null],[3,"Poll","","",null,null],[3,"Timeout","","",null,null],[3,"TimerError","","",null,null],[3,"Token","","",null,null],[12,"0","","",3,null],[3,"Io","","",null,null],[3,"Selector","","",null,null],[4,"IpAddr","","An IP address, either a IPv4 or IPv6 address.",null,null],[13,"V4","","",4,null],[13,"V6","","",4,null],[4,"NotifyError","","",null,null],[13,"Io","","",5,null],[13,"Full","","",5,null],[13,"Closed","","",5,null],[0,"util","","Utilities for non-blocking IO programs",null,null],[3,"BoundedQueue","mio::util","",null,null],[11,"with_capacity","","",6,{"inputs":[{"name":"usize"}],"output":{"name":"queue"}}],[11,"push","","",6,null],[11,"pop","","",6,null],[11,"clone","","",6,null],[6,"Slab","","",null,null],[11,"cmp","mio","",7,null],[11,"partial_cmp","","",7,null],[11,"lt","","",7,null],[11,"le","","",7,null],[11,"gt","","",7,null],[11,"ge","","",7,null],[11,"clone","","",7,null],[11,"eq","","",7,null],[11,"ne","","",7,null],[11,"edge","","",7,{"inputs":[],"output":{"name":"pollopt"}}],[11,"empty","","",7,{"inputs":[],"output":{"name":"pollopt"}}],[11,"level","","",7,{"inputs":[],"output":{"name":"pollopt"}}],[11,"oneshot","","",7,{"inputs":[],"output":{"name":"pollopt"}}],[11,"all","","",7,{"inputs":[],"output":{"name":"pollopt"}}],[11,"is_edge","","",7,null],[11,"is_level","","",7,null],[11,"is_oneshot","","",7,null],[11,"bits","","",7,null],[11,"contains","","",7,null],[11,"insert","","",7,null],[11,"remove","","",7,null],[11,"bitor","","",7,null],[11,"bitxor","","",7,null],[11,"bitand","","",7,null],[11,"sub","","",7,null],[11,"not","","",7,null],[11,"fmt","","",7,null],[11,"cmp","","",8,null],[11,"partial_cmp","","",8,null],[11,"lt","","",8,null],[11,"le","","",8,null],[11,"gt","","",8,null],[11,"ge","","",8,null],[11,"clone","","",8,null],[11,"eq","","",8,null],[11,"ne","","",8,null],[11,"none","","",8,{"inputs":[],"output":{"name":"eventset"}}],[11,"readable","","",8,{"inputs":[],"output":{"name":"eventset"}}],[11,"writable","","",8,{"inputs":[],"output":{"name":"eventset"}}],[11,"error","","",8,{"inputs":[],"output":{"name":"eventset"}}],[11,"hup","","",8,{"inputs":[],"output":{"name":"eventset"}}],[11,"all","","",8,{"inputs":[],"output":{"name":"eventset"}}],[11,"is_readable","","",8,null],[11,"is_writable","","",8,null],[11,"is_error","","",8,null],[11,"is_hup","","",8,null],[11,"insert","","",8,null],[11,"remove","","",8,null],[11,"bits","","",8,null],[11,"contains","","",8,null],[11,"bitor","","",8,null],[11,"bitxor","","",8,null],[11,"bitand","","",8,null],[11,"sub","","",8,null],[11,"not","","",8,null],[11,"fmt","","",8,null],[11,"fmt","","",2,null],[11,"clone","","",2,null],[11,"default","","",2,{"inputs":[],"output":{"name":"eventloopconfig"}}],[11,"fmt","","",9,null],[11,"new","","Initializes a new event loop using default configuration settings. The\nevent loop will not be running yet.",9,{"inputs":[],"output":{"name":"result"}}],[11,"configured","","",9,{"inputs":[{"name":"eventloopconfig"}],"output":{"name":"result"}}],[11,"channel","","Returns a sender that allows sending messages to the event loop in a\nthread-safe way, waking up the event loop if needed.",9,null],[11,"timeout_ms","","Schedules a timeout after the requested time interval. When the\nduration has been reached,\n[Handler::timeout](trait.Handler.html#method.timeout) will be invoked\npassing in the supplied token.",9,null],[11,"clear_timeout","","If the supplied timeout has not been triggered, cancel it such that it\nwill not be triggered in the future.",9,null],[11,"shutdown","","Tells the event loop to exit after it is done handling all events in the\ncurrent iteration.",9,null],[11,"is_running","","Indicates whether the event loop is currently running. If it's not it has either\nstopped or is scheduled to stop on the next tick.",9,null],[11,"register","","Registers an IO handle with the event loop.",9,null],[11,"register_opt","","Registers an IO handle with the event loop.",9,null],[11,"reregister","","Re-Registers an IO handle with the event loop.",9,null],[11,"run","","Keep spinning the event loop indefinitely, and notify the handler whenever\nany of the registered handles are ready.",9,null],[11,"deregister","","Deregisters an IO handle with the event loop.",9,null],[11,"run_once","","Spin the event loop once, with a timeout of one second, and notify the\nhandler if any of the registered handles become ready during that\ntime.",9,null],[11,"drop","","",9,null],[11,"clone","","",10,null],[11,"fmt","","",10,null],[11,"send","","",10,null],[11,"from_str","","",4,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"fmt","","",5,null],[11,"new","","",11,{"inputs":[],"output":{"name":"result"}}],[11,"register","","",11,null],[11,"reregister","","",11,null],[11,"deregister","","",11,null],[11,"poll","","",11,null],[11,"event","","",11,null],[11,"fmt","","",11,null],[11,"fmt","","",12,null],[11,"new","","",12,{"inputs":[],"output":{"name":"result"}}],[11,"select","","Wait for events from the OS",12,null],[11,"register","","Register event interests for the given IO handle with the OS",12,null],[11,"reregister","","Register event interests for the given IO handle with the OS",12,null],[11,"deregister","","Deregister event interests for the given IO handle with the OS",12,null],[11,"drop","","",12,null],[11,"fmt","","",13,null],[11,"from_raw_fd","","",13,{"inputs":[{"name":"rawfd"}],"output":{"name":"io"}}],[11,"from","","",13,{"inputs":[{"name":"rawfd"}],"output":{"name":"io"}}],[11,"from_raw_fd","","",13,{"inputs":[{"name":"rawfd"}],"output":{"name":"io"}}],[11,"as_raw_fd","","",13,null],[11,"register","","",13,null],[11,"reregister","","",13,null],[11,"deregister","","",13,null],[11,"read","","",13,null],[11,"write","","",13,null],[11,"flush","","",13,null],[11,"drop","","",13,null],[11,"clone","","",14,null],[11,"fmt","","",15,null],[11,"hash","","",3,null],[11,"eq","","",3,null],[11,"ne","","",3,null],[11,"fmt","","",3,null],[11,"clone","","",3,null],[11,"as_usize","","",3,null],[11,"from_usize","","",3,{"inputs":[{"name":"usize"}],"output":{"name":"token"}}],[11,"as_usize","","",3,null],[0,"tcp","","",null,null],[3,"TcpSocket","mio::tcp","",null,null],[3,"TcpStream","","",null,null],[3,"TcpListener","","",null,null],[4,"Shutdown","","",null,null],[13,"Read","","Further receptions will be disallowed.",16,null],[13,"Write","","Further transmissions will be disallowed.",16,null],[13,"Both","","Further receptions and transmissions will be disallowed.",16,null],[11,"fmt","","",17,null],[11,"v4","","Returns a new, unbound, non-blocking, IPv4 socket",17,{"inputs":[],"output":{"name":"result"}}],[11,"v6","","Returns a new, unbound, non-blocking, IPv6 socket",17,{"inputs":[],"output":{"name":"result"}}],[11,"connect","","",17,null],[11,"bind","","",17,null],[11,"listen","","",17,null],[11,"peer_addr","","",17,null],[11,"local_addr","","",17,null],[11,"try_clone","","",17,null],[11,"set_reuseaddr","","",17,null],[11,"take_socket_error","","",17,null],[11,"set_nodelay","","",17,null],[11,"set_keepalive","","",17,null],[11,"register","","",17,null],[11,"reregister","","",17,null],[11,"deregister","","",17,null],[11,"from","","",17,{"inputs":[{"name":"tcpsocket"}],"output":{"name":"tcpsocket"}}],[11,"fmt","","",18,null],[11,"fmt","","",16,null],[11,"eq","","",16,null],[11,"clone","","",16,null],[11,"connect","","",18,{"inputs":[{"name":"socketaddr"}],"output":{"name":"result"}}],[11,"peer_addr","","",18,null],[11,"local_addr","","",18,null],[11,"try_clone","","",18,null],[11,"shutdown","","",18,null],[11,"set_nodelay","","",18,null],[11,"set_keepalive","","",18,null],[11,"take_socket_error","","",18,null],[11,"read","","",18,null],[11,"write","","",18,null],[11,"flush","","",18,null],[11,"register","","",18,null],[11,"reregister","","",18,null],[11,"deregister","","",18,null],[11,"from","","",18,{"inputs":[{"name":"tcpsocket"}],"output":{"name":"tcpstream"}}],[11,"fmt","","",19,null],[11,"bind","","",19,{"inputs":[{"name":"socketaddr"}],"output":{"name":"result"}}],[11,"accept","","Accepts a new `TcpStream`.",19,null],[11,"local_addr","","",19,null],[11,"try_clone","","",19,null],[11,"from","","",19,{"inputs":[{"name":"tcpsocket"}],"output":{"name":"tcplistener"}}],[11,"register","","",19,null],[11,"reregister","","",19,null],[11,"deregister","","",19,null],[11,"accept","","",19,null],[11,"as_raw_fd","","",17,null],[11,"from_raw_fd","","",17,{"inputs":[{"name":"rawfd"}],"output":{"name":"tcpsocket"}}],[11,"as_raw_fd","","",18,null],[11,"from_raw_fd","","",18,{"inputs":[{"name":"rawfd"}],"output":{"name":"tcpstream"}}],[11,"as_raw_fd","","",19,null],[11,"from_raw_fd","","",19,{"inputs":[{"name":"rawfd"}],"output":{"name":"tcplistener"}}],[0,"udp","mio","",null,null],[3,"UdpSocket","mio::udp","",null,null],[11,"fmt","","",20,null],[11,"v4","","Returns a new, unbound, non-blocking, IPv4 UDP socket",20,{"inputs":[],"output":{"name":"result"}}],[11,"v6","","Returns a new, unbound, non-blocking, IPv6 UDP socket",20,{"inputs":[],"output":{"name":"result"}}],[11,"bound","","",20,{"inputs":[{"name":"socketaddr"}],"output":{"name":"result"}}],[11,"bind","","",20,null],[11,"local_addr","","",20,null],[11,"try_clone","","",20,null],[11,"send_to","","",20,null],[11,"recv_from","","",20,null],[11,"set_broadcast","","",20,null],[11,"set_multicast_loop","","",20,null],[11,"join_multicast","","",20,null],[11,"leave_multicast","","",20,null],[11,"set_multicast_time_to_live","","",20,null],[11,"register","","",20,null],[11,"reregister","","",20,null],[11,"deregister","","",20,null],[11,"from","","",20,{"inputs":[{"name":"udpsocket"}],"output":{"name":"udpsocket"}}],[11,"as_raw_fd","","",20,null],[11,"from_raw_fd","","",20,{"inputs":[{"name":"rawfd"}],"output":{"name":"udpsocket"}}],[0,"unix","mio","",null,null],[3,"UnixSocket","mio::unix","",null,null],[3,"UnixStream","","",null,null],[3,"UnixListener","","",null,null],[3,"PipeReader","","",null,null],[3,"PipeWriter","","",null,null],[5,"pipe","","",null,{"inputs":[],"output":{"name":"result"}}],[11,"fmt","","",21,null],[11,"stream","","Returns a new, unbound, non-blocking Unix domain socket",21,{"inputs":[],"output":{"name":"result"}}],[11,"connect","","Connect the socket to the specified address",21,null],[11,"bind","","Bind the socket to the specified address",21,null],[11,"listen","","Listen for incoming requests",21,null],[11,"try_clone","","",21,null],[11,"register","","",21,null],[11,"reregister","","",21,null],[11,"deregister","","",21,null],[11,"from","","",21,{"inputs":[{"name":"unixsocket"}],"output":{"name":"unixsocket"}}],[11,"fmt","","",22,null],[11,"connect","","",22,{"inputs":[{"name":"p"}],"output":{"name":"result"}}],[11,"try_clone","","",22,null],[11,"read","","",22,null],[11,"write","","",22,null],[11,"flush","","",22,null],[11,"register","","",22,null],[11,"reregister","","",22,null],[11,"deregister","","",22,null],[11,"from","","",22,{"inputs":[{"name":"unixsocket"}],"output":{"name":"unixstream"}}],[11,"fmt","","",23,null],[11,"bind","","",23,{"inputs":[{"name":"p"}],"output":{"name":"result"}}],[11,"accept","","",23,null],[11,"try_clone","","",23,null],[11,"register","","",23,null],[11,"reregister","","",23,null],[11,"deregister","","",23,null],[11,"accept","","",23,null],[11,"from","","",23,{"inputs":[{"name":"unixsocket"}],"output":{"name":"unixlistener"}}],[11,"fmt","","",24,null],[11,"read","","",24,null],[11,"register","","",24,null],[11,"reregister","","",24,null],[11,"deregister","","",24,null],[11,"from","","",24,{"inputs":[{"name":"io"}],"output":{"name":"pipereader"}}],[11,"fmt","","",25,null],[11,"write","","",25,null],[11,"flush","","",25,null],[11,"register","","",25,null],[11,"reregister","","",25,null],[11,"deregister","","",25,null],[11,"from","","",25,{"inputs":[{"name":"io"}],"output":{"name":"pipewriter"}}],[11,"as_raw_fd","","",21,null],[11,"from_raw_fd","","",21,{"inputs":[{"name":"rawfd"}],"output":{"name":"unixsocket"}}],[11,"as_raw_fd","","",22,null],[11,"from_raw_fd","","",22,{"inputs":[{"name":"rawfd"}],"output":{"name":"unixstream"}}],[11,"as_raw_fd","","",23,null],[11,"from_raw_fd","","",23,{"inputs":[{"name":"rawfd"}],"output":{"name":"unixlistener"}}],[11,"as_raw_fd","","",24,null],[11,"from_raw_fd","","",24,{"inputs":[{"name":"rawfd"}],"output":{"name":"pipereader"}}],[11,"as_raw_fd","","",25,null],[11,"from_raw_fd","","",25,{"inputs":[{"name":"rawfd"}],"output":{"name":"pipewriter"}}],[0,"prelude","mio","",null,null],[3,"EventLoop","mio::prelude","Single threaded IO event loop.",null,null],[8,"TryRead","","",null,null],[11,"try_read_buf","","",26,null],[10,"try_read","","",26,null],[8,"TryWrite","","",null,null],[11,"try_write_buf","","",27,null],[10,"try_write","","",27,null],[0,"buf","mio","",null,null],[8,"Buf","mio::buf","A trait for values that provide sequential read access to bytes.",null,null],[10,"remaining","","Returns the number of bytes that can be accessed from the Buf",0,null],[10,"bytes","","Returns a slice starting at the current Buf position and of length\nbetween 0 and `Buf::remaining()`.",0,null],[10,"advance","","Advance the internal cursor of the Buf",0,null],[11,"has_remaining","","Returns true if there are any more bytes to consume",0,null],[11,"read_slice","","Read bytes from the `Buf` into the given slice and advance the cursor by\nthe number of bytes read.\nReturns the number of bytes read.",0,null],[11,"read_byte","","Read a single byte from the `Buf`",0,null],[8,"MutBuf","","A trait for values that provide sequential write access to bytes.",null,null],[10,"remaining","","Returns the number of bytes that can be written to the MutBuf",1,null],[10,"advance","","Advance the internal cursor of the MutBuf",1,null],[11,"has_remaining","","Returns true iff there is any more space for bytes to be written",1,null],[10,"mut_bytes","","Returns a mutable slice starting at the current MutBuf position and of\nlength between 0 and `MutBuf::remaining()`.",1,null],[11,"write_slice","","Write bytes from the given slice into the `MutBuf` and advance the\ncursor by the number of bytes written.\nReturns the number of bytes written.",1,null],[11,"write_byte","","Write a single byte to the `MuBuf`",1,null],[3,"ByteBuf","","A `Buf` backed by a contiguous region of memory.",null,null],[3,"MutByteBuf","","",null,null],[3,"RingBuf","","Buf backed by a continous chunk of memory. Maintains a read cursor and a\nwrite cursor. When reads and writes reach the end of the allocated buffer,\nwraps around to the start.",null,null],[3,"SliceBuf","","",null,null],[3,"MutSliceBuf","","",null,null],[6,"TimerResult","mio","",null,null],[8,"Handler","","",null,null],[16,"Timeout","","",28,null],[16,"Message","","",28,null],[11,"ready","","Invoked when the socket represented by `token` is ready to be operated\non. `events` indicates the specific operations that are\nready to be performed.",28,null],[11,"notify","","Invoked when a message has been received via the event loop's channel.",28,null],[11,"timeout","","Invoked when a timeout has completed.",28,null],[11,"interrupted","","Invoked when `EventLoop` has been interrupted by a signal interrupt.",28,null],[11,"tick","","Invoked at the end of an event loop tick.",28,null],[8,"TryRead","","",null,null],[11,"try_read_buf","mio::prelude","",26,null],[10,"try_read","mio","",26,null],[8,"TryWrite","","",null,null],[11,"try_write_buf","mio::prelude","",27,null],[10,"try_write","mio","",27,null],[8,"Evented","","A value that may be registered with an `EventLoop`",null,null],[8,"TryAccept","","",null,null],[16,"Output","","",29,null],[10,"accept","","",29,null],[11,"from_slice","mio::buf","Create a new `ByteBuf` by copying the contents of the given slice.",30,null],[11,"mut_with_capacity","","",30,{"inputs":[{"name":"usize"}],"output":{"name":"mutbytebuf"}}],[11,"none","","",30,{"inputs":[],"output":{"name":"bytebuf"}}],[11,"from_mem_ref","","",30,{"inputs":[{"name":"memref"},{"name":"u32"},{"name":"u32"},{"name":"u32"}],"output":{"name":"bytebuf"}}],[11,"capacity","","",30,null],[11,"flip","","",30,null],[11,"resume","","Flips the buffer back to mutable, resetting the write position\nto the byte after the previous write.",30,null],[11,"read_slice","","",30,null],[11,"to_seq_byte_str","","",30,null],[11,"to_bytes","","",30,null],[11,"mark","","Marks the current read location.",30,null],[11,"reset","","Resets the read position to the previously marked position.",30,null],[11,"remaining","","",30,null],[11,"bytes","","",30,null],[11,"advance","","",30,null],[11,"read_slice","","",30,null],[11,"capacity","","",31,null],[11,"flip","","",31,null],[11,"clear","","",31,null],[11,"write_slice","","",31,null],[11,"bytes","","",31,null],[11,"remaining","","",31,null],[11,"advance","","",31,null],[11,"mut_bytes","","",31,null],[11,"new","","Allocates a new `RingBuf` with the specified capacity.",32,{"inputs":[{"name":"usize"}],"output":{"name":"ringbuf"}}],[11,"is_full","","Returns `true` if the buf cannot accept any further writes.",32,null],[11,"is_empty","","Returns `true` if the buf cannot accept any further reads.",32,null],[11,"capacity","","Returns the number of bytes that the buf can hold.",32,null],[11,"mark","","Marks the current read location.",32,null],[11,"reset","","Resets the read position to the previously marked position.",32,null],[11,"clone","","",32,null],[11,"fmt","","",32,null],[11,"remaining","","",32,null],[11,"bytes","","",32,null],[11,"advance","","",32,null],[11,"remaining","","",32,null],[11,"advance","","",32,null],[11,"mut_bytes","","",32,null],[11,"read","","",32,null],[11,"write","","",32,null],[11,"flush","","",32,null],[11,"wrap","","",33,null],[11,"remaining","","",33,null],[11,"bytes","","",33,null],[11,"advance","","",33,null],[11,"wrap","","",34,null],[11,"remaining","","",34,null],[11,"advance","","",34,null],[11,"mut_bytes","","",34,null],[11,"read","","",30,null],[11,"write","","",31,null],[11,"flush","","",31,null],[11,"new","mio","Creates a new IPv4 address from four eight-bit octets.",35,{"inputs":[{"name":"u8"},{"name":"u8"},{"name":"u8"},{"name":"u8"}],"output":{"name":"ipv4addr"}}],[11,"octets","","Returns the four eight-bit integers that make up this address.",35,null],[11,"is_unspecified","","Returns true for the special 'unspecified' address (0.0.0.0).",35,null],[11,"is_loopback","","Returns true if this is a loopback address (127.0.0.0/8).",35,null],[11,"is_private","","Returns true if this is a private address.",35,null],[11,"is_link_local","","Returns true if the address is link-local (169.254.0.0/16).",35,null],[11,"is_global","","Returns true if the address appears to be globally routable.\nSee [iana-ipv4-special-registry][ipv4-sr].\n[ipv4-sr]: http://goo.gl/RaZ7lg",35,null],[11,"is_multicast","","Returns true if this is a multicast address (224.0.0.0/4).",35,null],[11,"is_broadcast","","Returns true if this is a broadcast address (255.255.255.255).",35,null],[11,"is_documentation","","Returns true if this address is in a range designated for documentation.",35,null],[11,"to_ipv6_compatible","","Converts this address to an IPv4-compatible IPv6 address.",35,null],[11,"to_ipv6_mapped","","Converts this address to an IPv4-mapped IPv6 address.",35,null],[11,"fmt","","",35,null],[11,"fmt","","",35,null],[11,"clone","","",35,null],[11,"eq","","",35,null],[11,"hash","","",35,null],[11,"partial_cmp","","",35,null],[11,"cmp","","",35,null],[11,"from","","",35,{"inputs":[{"name":"u32"}],"output":{"name":"ipv4addr"}}],[11,"from","","",35,null],[11,"new","","Creates a new IPv6 address from eight 16-bit segments.",36,{"inputs":[{"name":"u16"},{"name":"u16"},{"name":"u16"},{"name":"u16"},{"name":"u16"},{"name":"u16"},{"name":"u16"},{"name":"u16"}],"output":{"name":"ipv6addr"}}],[11,"segments","","Returns the eight 16-bit segments that make up this address.",36,null],[11,"is_unspecified","","Returns true for the special 'unspecified' address (::).",36,null],[11,"is_loopback","","Returns true if this is a loopback address (::1).",36,null],[11,"is_global","","Returns true if the address appears to be globally routable.",36,null],[11,"is_unique_local","","Returns true if this is a unique local address (fc00::/7).",36,null],[11,"is_unicast_link_local","","Returns true if the address is unicast and link-local (fe80::/10).",36,null],[11,"is_unicast_site_local","","Returns true if this is a deprecated unicast site-local address\n(fec0::/10).",36,null],[11,"is_documentation","","Returns true if this is an address reserved for documentation\n(2001:db8::/32).",36,null],[11,"is_unicast_global","","Returns true if the address is a globally routable unicast address.",36,null],[11,"multicast_scope","","Returns the address's multicast scope if the address is multicast.",36,null],[11,"is_multicast","","Returns true if this is a multicast address (ff00::/8).",36,null],[11,"to_ipv4","","Converts this address to an IPv4 address. Returns None if this address is\nneither IPv4-compatible or IPv4-mapped.",36,null],[11,"octets","","Returns the sixteen eight-bit integers the IPv6 address consists of.",36,null],[11,"fmt","","",36,null],[11,"fmt","","",36,null],[11,"clone","","",36,null],[11,"eq","","",36,null],[11,"hash","","",36,null],[11,"partial_cmp","","",36,null],[11,"cmp","","",36,null],[11,"from","","",36,null],[11,"from_str","","",35,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"from_str","","",36,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"ready","","Invoked when the socket represented by `token` is ready to be operated\non. `events` indicates the specific operations that are\nready to be performed.",28,null],[11,"notify","","Invoked when a message has been received via the event loop's channel.",28,null],[11,"timeout","","Invoked when a timeout has completed.",28,null],[11,"interrupted","","Invoked when `EventLoop` has been interrupted by a signal interrupt.",28,null],[11,"tick","","Invoked at the end of an event loop tick.",28,null],[11,"try_read_buf","mio::prelude","",26,null],[11,"try_write_buf","","",27,null],[11,"fmt","mio::tcp","",17,null],[11,"v4","","Returns a new, unbound, non-blocking, IPv4 socket",17,{"inputs":[],"output":{"name":"result"}}],[11,"v6","","Returns a new, unbound, non-blocking, IPv6 socket",17,{"inputs":[],"output":{"name":"result"}}],[11,"connect","","",17,null],[11,"bind","","",17,null],[11,"listen","","",17,null],[11,"peer_addr","","",17,null],[11,"local_addr","","",17,null],[11,"try_clone","","",17,null],[11,"set_reuseaddr","","",17,null],[11,"take_socket_error","","",17,null],[11,"set_nodelay","","",17,null],[11,"set_keepalive","","",17,null],[11,"register","","",17,null],[11,"reregister","","",17,null],[11,"deregister","","",17,null],[11,"from","","",17,{"inputs":[{"name":"tcpsocket"}],"output":{"name":"tcpsocket"}}],[11,"fmt","","",18,null],[11,"fmt","","",16,null],[11,"eq","","",16,null],[11,"clone","","",16,null],[11,"connect","","",18,{"inputs":[{"name":"socketaddr"}],"output":{"name":"result"}}],[11,"peer_addr","","",18,null],[11,"local_addr","","",18,null],[11,"try_clone","","",18,null],[11,"shutdown","","",18,null],[11,"set_nodelay","","",18,null],[11,"set_keepalive","","",18,null],[11,"take_socket_error","","",18,null],[11,"read","","",18,null],[11,"write","","",18,null],[11,"flush","","",18,null],[11,"register","","",18,null],[11,"reregister","","",18,null],[11,"deregister","","",18,null],[11,"from","","",18,{"inputs":[{"name":"tcpsocket"}],"output":{"name":"tcpstream"}}],[11,"fmt","","",19,null],[11,"bind","","",19,{"inputs":[{"name":"socketaddr"}],"output":{"name":"result"}}],[11,"accept","","Accepts a new `TcpStream`.",19,null],[11,"local_addr","","",19,null],[11,"try_clone","","",19,null],[11,"from","","",19,{"inputs":[{"name":"tcpsocket"}],"output":{"name":"tcplistener"}}],[11,"register","","",19,null],[11,"reregister","","",19,null],[11,"deregister","","",19,null],[11,"accept","","",19,null],[11,"as_raw_fd","","",17,null],[11,"from_raw_fd","","",17,{"inputs":[{"name":"rawfd"}],"output":{"name":"tcpsocket"}}],[11,"as_raw_fd","","",18,null],[11,"from_raw_fd","","",18,{"inputs":[{"name":"rawfd"}],"output":{"name":"tcpstream"}}],[11,"as_raw_fd","","",19,null],[11,"from_raw_fd","","",19,{"inputs":[{"name":"rawfd"}],"output":{"name":"tcplistener"}}],[11,"fmt","mio::udp","",20,null],[11,"v4","","Returns a new, unbound, non-blocking, IPv4 UDP socket",20,{"inputs":[],"output":{"name":"result"}}],[11,"v6","","Returns a new, unbound, non-blocking, IPv6 UDP socket",20,{"inputs":[],"output":{"name":"result"}}],[11,"bound","","",20,{"inputs":[{"name":"socketaddr"}],"output":{"name":"result"}}],[11,"bind","","",20,null],[11,"local_addr","","",20,null],[11,"try_clone","","",20,null],[11,"send_to","","",20,null],[11,"recv_from","","",20,null],[11,"set_broadcast","","",20,null],[11,"set_multicast_loop","","",20,null],[11,"join_multicast","","",20,null],[11,"leave_multicast","","",20,null],[11,"set_multicast_time_to_live","","",20,null],[11,"register","","",20,null],[11,"reregister","","",20,null],[11,"deregister","","",20,null],[11,"from","","",20,{"inputs":[{"name":"udpsocket"}],"output":{"name":"udpsocket"}}],[11,"as_raw_fd","","",20,null],[11,"from_raw_fd","","",20,{"inputs":[{"name":"rawfd"}],"output":{"name":"udpsocket"}}],[11,"fmt","mio::unix","",21,null],[11,"stream","","Returns a new, unbound, non-blocking Unix domain socket",21,{"inputs":[],"output":{"name":"result"}}],[11,"connect","","Connect the socket to the specified address",21,null],[11,"bind","","Bind the socket to the specified address",21,null],[11,"listen","","Listen for incoming requests",21,null],[11,"try_clone","","",21,null],[11,"register","","",21,null],[11,"reregister","","",21,null],[11,"deregister","","",21,null],[11,"from","","",21,{"inputs":[{"name":"unixsocket"}],"output":{"name":"unixsocket"}}],[11,"fmt","","",22,null],[11,"connect","","",22,{"inputs":[{"name":"p"}],"output":{"name":"result"}}],[11,"try_clone","","",22,null],[11,"read","","",22,null],[11,"write","","",22,null],[11,"flush","","",22,null],[11,"register","","",22,null],[11,"reregister","","",22,null],[11,"deregister","","",22,null],[11,"from","","",22,{"inputs":[{"name":"unixsocket"}],"output":{"name":"unixstream"}}],[11,"fmt","","",23,null],[11,"bind","","",23,{"inputs":[{"name":"p"}],"output":{"name":"result"}}],[11,"accept","","",23,null],[11,"try_clone","","",23,null],[11,"register","","",23,null],[11,"reregister","","",23,null],[11,"deregister","","",23,null],[11,"accept","","",23,null],[11,"from","","",23,{"inputs":[{"name":"unixsocket"}],"output":{"name":"unixlistener"}}],[11,"fmt","","",24,null],[11,"read","","",24,null],[11,"register","","",24,null],[11,"reregister","","",24,null],[11,"deregister","","",24,null],[11,"from","","",24,{"inputs":[{"name":"io"}],"output":{"name":"pipereader"}}],[11,"fmt","","",25,null],[11,"write","","",25,null],[11,"flush","","",25,null],[11,"register","","",25,null],[11,"reregister","","",25,null],[11,"deregister","","",25,null],[11,"from","","",25,{"inputs":[{"name":"io"}],"output":{"name":"pipewriter"}}],[11,"as_raw_fd","","",21,null],[11,"from_raw_fd","","",21,{"inputs":[{"name":"rawfd"}],"output":{"name":"unixsocket"}}],[11,"as_raw_fd","","",22,null],[11,"from_raw_fd","","",22,{"inputs":[{"name":"rawfd"}],"output":{"name":"unixstream"}}],[11,"as_raw_fd","","",23,null],[11,"from_raw_fd","","",23,{"inputs":[{"name":"rawfd"}],"output":{"name":"unixlistener"}}],[11,"as_raw_fd","","",24,null],[11,"from_raw_fd","","",24,{"inputs":[{"name":"rawfd"}],"output":{"name":"pipereader"}}],[11,"as_raw_fd","","",25,null],[11,"from_raw_fd","","",25,{"inputs":[{"name":"rawfd"}],"output":{"name":"pipewriter"}}]],"paths":[[8,"Buf"],[8,"MutBuf"],[3,"EventLoopConfig"],[3,"Token"],[4,"IpAddr"],[4,"NotifyError"],[3,"BoundedQueue"],[3,"PollOpt"],[3,"EventSet"],[3,"EventLoop"],[3,"Sender"],[3,"Poll"],[3,"Selector"],[3,"Io"],[3,"Timeout"],[3,"TimerError"],[4,"Shutdown"],[3,"TcpSocket"],[3,"TcpStream"],[3,"TcpListener"],[3,"UdpSocket"],[3,"UnixSocket"],[3,"UnixStream"],[3,"UnixListener"],[3,"PipeReader"],[3,"PipeWriter"],[8,"TryRead"],[8,"TryWrite"],[8,"Handler"],[8,"TryAccept"],[3,"ByteBuf"],[3,"MutByteBuf"],[3,"RingBuf"],[3,"SliceBuf"],[3,"MutSliceBuf"],[3,"Ipv4Addr"],[3,"Ipv6Addr"]]}; initSearch(searchIndex);