var searchIndex = {}; searchIndex["rotor"] = {"doc":"The mio-based framework for doing I/O in simple and composable way","items":[[3,"EventSet","rotor","",null,null],[8,"Evented","","A value that may be registered with an `EventLoop`",null,null],[3,"PollOpt","","",null,null],[3,"Timeout","","",null,null],[3,"TimerError","","",null,null],[0,"util","rotor::mio","Utilities for non-blocking IO programs",null,null],[6,"Slab","rotor::mio::util","",null,null],[3,"Queue","","",null,null],[0,"unix","rotor::mio","",null,null],[3,"UnixListener","rotor::mio::unix","",null,null],[3,"UnixSocket","","",null,null],[5,"pipe","","",null,{"inputs":[],"output":{"name":"result"}}],[3,"PipeWriter","","",null,null],[3,"EventedFd","","",null,null],[12,"0","","",0,null],[3,"PipeReader","","",null,null],[3,"UnixStream","","",null,null],[0,"prelude","rotor::mio","",null,null],[3,"EventLoop","rotor::mio::prelude","Single threaded IO event loop.",null,null],[8,"TryRead","","",null,null],[11,"try_read_buf","","",1,null],[10,"try_read","","",1,null],[8,"TryWrite","","",null,null],[11,"try_write_buf","","",2,null],[10,"try_write","","",2,null],[3,"Poll","rotor::mio","",null,null],[3,"Io","","",null,null],[8,"TryRead","","",null,null],[11,"try_read_buf","","",1,null],[10,"try_read","","",1,null],[8,"TryAccept","","",null,null],[16,"Output","","",3,null],[10,"accept","","",3,null],[3,"Selector","","",null,null],[3,"Ipv6Addr","","Representation of an IPv6 address.",null,null],[0,"tcp","","",null,null],[3,"TcpStream","rotor::mio::tcp","",null,null],[3,"TcpListener","","",null,null],[4,"Shutdown","","Possible values which can be passed to the `shutdown` method of `TcpStream`.",null,null],[13,"Read","","Indicates that the reading portion of this stream/socket should be shut\ndown. All currently blocked and future reads will return `Ok(0)`.",4,null],[13,"Write","","Indicates that the writing portion of this stream/socket should be shut\ndown. All currently blocked and future writes will return an error.",4,null],[13,"Both","","Shut down both the reading and writing portions of this stream.",4,null],[8,"Evented","rotor::mio","A value that may be registered with an `EventLoop`",null,null],[3,"PollOpt","","",null,null],[3,"Timeout","","",null,null],[8,"Handler","","",null,null],[16,"Timeout","","",5,null],[16,"Message","","",5,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.",5,null],[11,"notify","","Invoked when a message has been received via the event loop's channel.",5,null],[11,"timeout","","Invoked when a timeout has completed.",5,null],[11,"interrupted","","Invoked when `EventLoop` has been interrupted by a signal interrupt.",5,null],[11,"tick","","Invoked at the end of an event loop tick.",5,null],[4,"IpAddr","","An IP address, either a IPv4 or IPv6 address.",null,null],[13,"V4","","",6,null],[13,"V6","","",6,null],[3,"Token","","",null,null],[12,"0","","",7,null],[3,"IoEvent","","",null,null],[12,"kind","","",8,null],[12,"token","","",8,null],[3,"EventLoop","","Single threaded IO event loop.",null,null],[0,"udp","","",null,null],[3,"UdpSocket","rotor::mio::udp","",null,null],[3,"Sender","rotor::mio","Sends messages to the EventLoop from other threads.",null,null],[3,"Events","","",null,null],[3,"EventSet","","",null,null],[3,"TimerError","","",null,null],[3,"Ipv4Addr","","Representation of an IPv4 address.",null,null],[4,"NotifyError","","",null,null],[13,"Io","","",9,null],[13,"Full","","",9,null],[13,"Closed","","",9,null],[6,"TimerResult","","",null,null],[8,"TryWrite","","",null,null],[11,"try_write_buf","","",2,null],[10,"try_write","","",2,null],[3,"EventLoopConfig","","Configure EventLoop runtime details",null,null],[3,"Handler","rotor","Standard mio loop handler",null,null],[3,"Scope","","The structure passed to every action handler",null,null],[3,"EarlyScope","","This is a structure that works similarly to Scope, but doesn't\nhave a context",null,null],[3,"Notifier","","The object used to wakeup unrelated state machine",null,null],[3,"Config","","Event loop configuration",null,null],[3,"Loop","","An object that is used to construct a loop",null,null],[3,"LoopInstance","","",null,null],[3,"Response","","The response of a state machine to the (mio) action",null,null],[4,"SpawnError","","",null,null],[13,"NoSlabSpace","","The State Machine Slab capacity is reached",10,null],[13,"UserError","","Error returned from `Machine::create` handler",10,null],[4,"Compose2","","Composes two state machines",null,null],[13,"A","","",11,null],[13,"B","","",11,null],[11,"new_with_capacity","","",12,{"inputs":[{"name":"c"},{"name":"eventloop"},{"name":"usize"}],"output":{"name":"handler"}}],[11,"new","","",12,{"inputs":[{"name":"c"},{"name":"eventloop"}],"output":{"name":"handler"}}],[11,"add_machine_with","","",12,null],[11,"ready","","",12,null],[11,"notify","","",12,null],[11,"timeout","","",12,null],[11,"register","","",13,null],[11,"reregister","","",13,null],[11,"deregister","","",13,null],[11,"timeout_ms","","",13,null],[11,"clear_timeout","","",13,null],[11,"notifier","","Create a `Notifier` that may be used to `wakeup` enclosed state machine",13,null],[11,"shutdown_loop","","Shutdown the event loop",13,null],[11,"register","","",13,null],[11,"reregister","","",13,null],[11,"deregister","","",13,null],[11,"timeout_ms","","",13,null],[11,"clear_timeout","","",13,null],[11,"notifier","","Create a `Notifier` that may be used to `wakeup` enclosed state machine",13,null],[11,"deref","","",13,null],[11,"deref_mut","","",13,null],[11,"register","","",14,null],[11,"reregister","","",14,null],[11,"deregister","","",14,null],[11,"timeout_ms","","",14,null],[11,"clear_timeout","","",14,null],[11,"notifier","","Create a `Notifier` that may be used to `wakeup` enclosed state machine",14,null],[11,"register","","",14,null],[11,"reregister","","",14,null],[11,"deregister","","",14,null],[11,"timeout_ms","","",14,null],[11,"clear_timeout","","",14,null],[11,"notifier","","Create a `Notifier` that may be used to `wakeup` enclosed state machine",14,null],[11,"ok","","",15,{"inputs":[{"name":"m"}],"output":{"name":"response"}}],[11,"spawn","","",15,{"inputs":[{"name":"m"},{"name":"n"}],"output":{"name":"response"}}],[11,"done","","",15,{"inputs":[],"output":{"name":"response"}}],[11,"map","","",15,null],[11,"create","","",11,{"inputs":[{"name":"seed"},{"name":"scope"}],"output":{"name":"result"}}],[11,"ready","","",11,null],[11,"spawned","","",11,null],[11,"timeout","","",11,null],[11,"wakeup","","",11,null],[11,"fmt","","",16,null],[11,"clone","","",16,null],[11,"wakeup","","Wakeup a state machine",16,null],[11,"clone","","",17,null],[11,"fmt","","",17,null],[11,"default","","",17,{"inputs":[],"output":{"name":"config"}}],[11,"new","","Create new configuration with default options",17,{"inputs":[],"output":{"name":"config"}}],[11,"mio","","A mutable reference for ``mio::EventLoopConfig``",17,null],[11,"slab_capacity","","A capacity of state machine slab",17,null],[11,"new","","",18,{"inputs":[{"name":"config"}],"output":{"name":"result"}}],[11,"add_machine_with","","",18,null],[11,"instantiate","","",18,null],[11,"run","","",18,null],[11,"add_machine_with","","",19,null],[11,"run","","",19,null],[11,"fmt","","",10,null],[11,"description","","",10,null],[11,"cause","","",10,null],[11,"map","","",10,null],[11,"description","","",10,null],[11,"cause","","",10,null],[11,"from","","",10,{"inputs":[{"name":"box"}],"output":{"name":"spawnerror"}}],[11,"fmt","","",10,null],[8,"Machine","","A trait that every state machine in the loop must implement",null,null],[16,"Context","","Context type for the state machine",20,null],[16,"Seed","","Seed is piece of data that is needed to initialize the machine",20,null],[10,"create","","Create a machine from some data",20,{"inputs":[{"name":"seed"},{"name":"scope"}],"output":{"name":"result"}}],[10,"ready","","Socket readiness notification",20,null],[10,"spawned","","Called after spawn event",20,null],[11,"spawn_error","","Called instead of spawned, if there is no slab space",20,null],[10,"timeout","","Timeout happened",20,null],[10,"wakeup","","Message received",20,null],[8,"GenericScope","","A common part of `Scope` and `EarlyScope`",null,null],[10,"register","","",21,null],[10,"reregister","","",21,null],[10,"deregister","","",21,null],[10,"timeout_ms","","",21,null],[10,"clear_timeout","","",21,null],[10,"notifier","","",21,null],[14,"rotor_compose!","","",null,null],[11,"none","rotor::mio","",22,{"inputs":[],"output":{"name":"eventset"}}],[11,"readable","","",22,{"inputs":[],"output":{"name":"eventset"}}],[11,"writable","","",22,{"inputs":[],"output":{"name":"eventset"}}],[11,"error","","",22,{"inputs":[],"output":{"name":"eventset"}}],[11,"hup","","",22,{"inputs":[],"output":{"name":"eventset"}}],[11,"all","","",22,{"inputs":[],"output":{"name":"eventset"}}],[11,"is_readable","","",22,null],[11,"is_writable","","",22,null],[11,"is_error","","",22,null],[11,"is_hup","","",22,null],[11,"insert","","",22,null],[11,"remove","","",22,null],[11,"bits","","",22,null],[11,"contains","","",22,null],[11,"with_capacity","rotor::mio::util","",23,{"inputs":[{"name":"usize"}],"output":{"name":"queue"}}],[11,"push","","",23,null],[11,"pop","","",23,null],[11,"clone","","",23,null],[11,"cmp","rotor::mio","",24,null],[11,"partial_cmp","","",24,null],[11,"lt","","",24,null],[11,"le","","",24,null],[11,"gt","","",24,null],[11,"ge","","",24,null],[11,"clone","","",24,null],[11,"eq","","",24,null],[11,"ne","","",24,null],[11,"edge","","",24,{"inputs":[],"output":{"name":"pollopt"}}],[11,"empty","","",24,{"inputs":[],"output":{"name":"pollopt"}}],[11,"level","","",24,{"inputs":[],"output":{"name":"pollopt"}}],[11,"oneshot","","",24,{"inputs":[],"output":{"name":"pollopt"}}],[11,"all","","",24,{"inputs":[],"output":{"name":"pollopt"}}],[11,"is_edge","","",24,null],[11,"is_level","","",24,null],[11,"is_oneshot","","",24,null],[11,"bits","","",24,null],[11,"contains","","",24,null],[11,"insert","","",24,null],[11,"remove","","",24,null],[11,"bitor","","",24,null],[11,"bitxor","","",24,null],[11,"bitand","","",24,null],[11,"sub","","",24,null],[11,"not","","",24,null],[11,"fmt","","",24,null],[11,"cmp","","",22,null],[11,"partial_cmp","","",22,null],[11,"lt","","",22,null],[11,"le","","",22,null],[11,"gt","","",22,null],[11,"ge","","",22,null],[11,"clone","","",22,null],[11,"eq","","",22,null],[11,"ne","","",22,null],[11,"bitor","","",22,null],[11,"bitxor","","",22,null],[11,"bitand","","",22,null],[11,"sub","","",22,null],[11,"not","","",22,null],[11,"fmt","","",22,null],[11,"fmt","","",8,null],[11,"eq","","",8,null],[11,"ne","","",8,null],[11,"clone","","",8,null],[11,"new","","Create a new IoEvent.",8,{"inputs":[{"name":"eventset"},{"name":"token"}],"output":{"name":"ioevent"}}],[11,"fmt","","",25,null],[11,"clone","","",25,null],[11,"new","","Creates a new configuration for the event loop with all default options\nspecified.",25,{"inputs":[],"output":{"name":"eventloopconfig"}}],[11,"notify_capacity","","Sets the maximum number of messages that can be buffered on the event\nloop's notification channel before a send will fail.",25,null],[11,"messages_per_tick","","Sets the maximum number of messages that can be processed on any tick of\nthe event loop.",25,null],[11,"timer_tick_ms","","",25,null],[11,"timer_wheel_size","","",25,null],[11,"timer_capacity","","",25,null],[11,"default","","",25,{"inputs":[],"output":{"name":"eventloopconfig"}}],[11,"fmt","","",26,null],[11,"new","","Initializes a new event loop using default configuration settings. The\nevent loop will not be running yet.",26,{"inputs":[],"output":{"name":"result"}}],[11,"configured","","",26,{"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.",26,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.",26,null],[11,"clear_timeout","","If the supplied timeout has not been triggered, cancel it such that it\nwill not be triggered in the future.",26,null],[11,"shutdown","","Tells the event loop to exit after it is done handling all events in the\ncurrent iteration.",26,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.",26,null],[11,"register","","Registers an IO handle with the event loop.",26,null],[11,"reregister","","Re-Registers an IO handle with the event loop.",26,null],[11,"run","","Keep spinning the event loop indefinitely, and notify the handler whenever\nany of the registered handles are ready.",26,null],[11,"deregister","","Deregisters an IO handle with the event loop.",26,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.",26,null],[11,"drop","","",26,null],[11,"clone","","",27,null],[11,"fmt","","",27,null],[11,"send","","",27,null],[11,"fmt","rotor::mio::tcp","",28,null],[11,"connect","","Create a new TCP stream an issue a non-blocking connect to the specified\naddress.",28,{"inputs":[{"name":"socketaddr"}],"output":{"name":"result"}}],[11,"connect_stream","","Creates a new `TcpStream` from the pending socket inside the given\n`std::net::TcpBuilder`, connecting it to the address specified.",28,{"inputs":[{"name":"tcpstream"},{"name":"socketaddr"}],"output":{"name":"result"}}],[11,"peer_addr","","",28,null],[11,"local_addr","","",28,null],[11,"try_clone","","",28,null],[11,"shutdown","","",28,null],[11,"set_nodelay","","",28,null],[11,"set_keepalive","","",28,null],[11,"take_socket_error","","",28,null],[11,"read","","",28,null],[11,"write","","",28,null],[11,"flush","","",28,null],[11,"register","","",28,null],[11,"reregister","","",28,null],[11,"deregister","","",28,null],[11,"fmt","","",29,null],[11,"bind","","Convenience method to bind a new TCP listener to the specified address\nto receive new connections.",29,{"inputs":[{"name":"socketaddr"}],"output":{"name":"result"}}],[11,"from_listener","","Creates a new `TcpListener` from an instance of a\n`std::net::TcpListener` type.",29,{"inputs":[{"name":"tcplistener"},{"name":"socketaddr"}],"output":{"name":"result"}}],[11,"accept","","Accepts a new `TcpStream`.",29,null],[11,"local_addr","","",29,null],[11,"try_clone","","",29,null],[11,"take_socket_error","","",29,null],[11,"register","","",29,null],[11,"reregister","","",29,null],[11,"deregister","","",29,null],[11,"accept","","",29,null],[11,"as_raw_fd","","",28,null],[11,"from_raw_fd","","",28,{"inputs":[{"name":"i32"}],"output":{"name":"tcpstream"}}],[11,"as_raw_fd","","",29,null],[11,"from_raw_fd","","",29,{"inputs":[{"name":"i32"}],"output":{"name":"tcplistener"}}],[11,"fmt","rotor::mio::udp","",30,null],[11,"v4","","Returns a new, unbound, non-blocking, IPv4 UDP socket",30,{"inputs":[],"output":{"name":"result"}}],[11,"v6","","Returns a new, unbound, non-blocking, IPv6 UDP socket",30,{"inputs":[],"output":{"name":"result"}}],[11,"bound","","",30,{"inputs":[{"name":"socketaddr"}],"output":{"name":"result"}}],[11,"bind","","",30,null],[11,"local_addr","","",30,null],[11,"try_clone","","",30,null],[11,"send_to","","",30,null],[11,"recv_from","","",30,null],[11,"set_broadcast","","",30,null],[11,"set_multicast_loop","","",30,null],[11,"join_multicast","","",30,null],[11,"leave_multicast","","",30,null],[11,"set_multicast_time_to_live","","",30,null],[11,"register","","",30,null],[11,"reregister","","",30,null],[11,"deregister","","",30,null],[11,"from","","",30,{"inputs":[{"name":"udpsocket"}],"output":{"name":"udpsocket"}}],[11,"as_raw_fd","","",30,null],[11,"from_raw_fd","","",30,{"inputs":[{"name":"i32"}],"output":{"name":"udpsocket"}}],[11,"fmt","rotor::mio::unix","",31,null],[11,"stream","","Returns a new, unbound, non-blocking Unix domain socket",31,{"inputs":[],"output":{"name":"result"}}],[11,"connect","","Connect the socket to the specified address",31,null],[11,"bind","","Bind the socket to the specified address",31,null],[11,"listen","","Listen for incoming requests",31,null],[11,"try_clone","","",31,null],[11,"register","","",31,null],[11,"reregister","","",31,null],[11,"deregister","","",31,null],[11,"from","","",31,{"inputs":[{"name":"unixsocket"}],"output":{"name":"unixsocket"}}],[11,"fmt","","",32,null],[11,"connect","","",32,{"inputs":[{"name":"p"}],"output":{"name":"result"}}],[11,"try_clone","","",32,null],[11,"read_recv_fd","","",32,null],[11,"try_read_recv_fd","","",32,null],[11,"try_read_buf_recv_fd","","",32,null],[11,"write_send_fd","","",32,null],[11,"try_write_send_fd","","",32,null],[11,"try_write_buf_send_fd","","",32,null],[11,"read","","",32,null],[11,"write","","",32,null],[11,"flush","","",32,null],[11,"register","","",32,null],[11,"reregister","","",32,null],[11,"deregister","","",32,null],[11,"from","","",32,{"inputs":[{"name":"unixsocket"}],"output":{"name":"unixstream"}}],[11,"fmt","","",33,null],[11,"bind","","",33,{"inputs":[{"name":"p"}],"output":{"name":"result"}}],[11,"accept","","",33,null],[11,"try_clone","","",33,null],[11,"register","","",33,null],[11,"reregister","","",33,null],[11,"deregister","","",33,null],[11,"accept","","",33,null],[11,"from","","",33,{"inputs":[{"name":"unixsocket"}],"output":{"name":"unixlistener"}}],[11,"fmt","","",34,null],[11,"read","","",34,null],[11,"register","","",34,null],[11,"reregister","","",34,null],[11,"deregister","","",34,null],[11,"from","","",34,{"inputs":[{"name":"io"}],"output":{"name":"pipereader"}}],[11,"fmt","","",35,null],[11,"write","","",35,null],[11,"flush","","",35,null],[11,"register","","",35,null],[11,"reregister","","",35,null],[11,"deregister","","",35,null],[11,"from","","",35,{"inputs":[{"name":"io"}],"output":{"name":"pipewriter"}}],[11,"as_raw_fd","","",31,null],[11,"from_raw_fd","","",31,{"inputs":[{"name":"i32"}],"output":{"name":"unixsocket"}}],[11,"as_raw_fd","","",32,null],[11,"from_raw_fd","","",32,{"inputs":[{"name":"i32"}],"output":{"name":"unixstream"}}],[11,"as_raw_fd","","",33,null],[11,"from_raw_fd","","",33,{"inputs":[{"name":"i32"}],"output":{"name":"unixlistener"}}],[11,"as_raw_fd","","",34,null],[11,"from_raw_fd","","",34,{"inputs":[{"name":"i32"}],"output":{"name":"pipereader"}}],[11,"as_raw_fd","","",35,null],[11,"from_raw_fd","","",35,{"inputs":[{"name":"i32"}],"output":{"name":"pipewriter"}}],[11,"from_str","rotor::mio","",6,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"fmt","","",9,null],[11,"fmt","","",9,null],[11,"description","","",9,null],[11,"cause","","",9,null],[11,"new","","",36,{"inputs":[],"output":{"name":"result"}}],[11,"register","","",36,null],[11,"reregister","","",36,null],[11,"deregister","","",36,null],[11,"poll","","",36,null],[11,"event","","",36,null],[11,"events","","",36,null],[11,"fmt","","",36,null],[11,"next","","",37,null],[11,"fmt","","",38,null],[11,"new","","",38,{"inputs":[],"output":{"name":"result"}}],[11,"id","","",38,null],[11,"select","","Wait for events from the OS",38,null],[11,"register","","Register event interests for the given IO handle with the OS",38,null],[11,"reregister","","Register event interests for the given IO handle with the OS",38,null],[11,"deregister","","Deregister event interests for the given IO handle with the OS",38,null],[11,"drop","","",38,null],[11,"fmt","rotor::mio::unix","",0,null],[11,"register","","",0,null],[11,"reregister","","",0,null],[11,"deregister","","",0,null],[11,"fmt","rotor::mio","",39,null],[11,"from_raw_fd","","",39,{"inputs":[{"name":"i32"}],"output":{"name":"io"}}],[11,"from","","",39,{"inputs":[{"name":"i32"}],"output":{"name":"io"}}],[11,"from_raw_fd","","",39,{"inputs":[{"name":"i32"}],"output":{"name":"io"}}],[11,"as_raw_fd","","",39,null],[11,"register","","",39,null],[11,"reregister","","",39,null],[11,"deregister","","",39,null],[11,"read","","",39,null],[11,"write","","",39,null],[11,"flush","","",39,null],[11,"drop","","",39,null],[11,"clone","","",40,null],[11,"fmt","","",41,null],[11,"hash","","",7,null],[11,"cmp","","",7,null],[11,"partial_cmp","","",7,null],[11,"lt","","",7,null],[11,"le","","",7,null],[11,"gt","","",7,null],[11,"ge","","",7,null],[11,"eq","","",7,null],[11,"ne","","",7,null],[11,"fmt","","",7,null],[11,"clone","","",7,null],[11,"as_usize","","",7,null],[11,"from_usize","","",7,{"inputs":[{"name":"usize"}],"output":{"name":"token"}}],[11,"as_usize","","",7,null],[11,"new","","Creates a new IPv6 address from eight 16-bit segments.",42,{"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.",42,null],[11,"is_unspecified","","Returns true for the special 'unspecified' address (::).",42,null],[11,"is_loopback","","Returns true if this is a loopback address (::1).",42,null],[11,"is_global","","Returns true if the address appears to be globally routable.",42,null],[11,"is_unique_local","","Returns true if this is a unique local address (fc00::/7).",42,null],[11,"is_unicast_link_local","","Returns true if the address is unicast and link-local (fe80::/10).",42,null],[11,"is_unicast_site_local","","Returns true if this is a deprecated unicast site-local address\n(fec0::/10).",42,null],[11,"is_documentation","","Returns true if this is an address reserved for documentation\n(2001:db8::/32).",42,null],[11,"is_unicast_global","","Returns true if the address is a globally routable unicast address.",42,null],[11,"multicast_scope","","Returns the address's multicast scope if the address is multicast.",42,null],[11,"is_multicast","","Returns true if this is a multicast address (ff00::/8).",42,null],[11,"to_ipv4","","Converts this address to an IPv4 address. Returns None if this address is\nneither IPv4-compatible or IPv4-mapped.",42,null],[11,"octets","","Returns the sixteen eight-bit integers the IPv6 address consists of.",42,null],[11,"new","","Creates a new IPv4 address from four eight-bit octets.",43,{"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.",43,null],[11,"is_unspecified","","Returns true for the special 'unspecified' address (0.0.0.0).",43,null],[11,"is_loopback","","Returns true if this is a loopback address (127.0.0.0/8).",43,null],[11,"is_private","","Returns true if this is a private address.",43,null],[11,"is_link_local","","Returns true if the address is link-local (169.254.0.0/16).",43,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",43,null],[11,"is_multicast","","Returns true if this is a multicast address (224.0.0.0/4).",43,null],[11,"is_broadcast","","Returns true if this is a broadcast address (255.255.255.255).",43,null],[11,"is_documentation","","Returns true if this address is in a range designated for documentation.",43,null],[11,"to_ipv6_compatible","","Converts this address to an IPv4-compatible IPv6 address.",43,null],[11,"to_ipv6_mapped","","Converts this address to an IPv4-mapped IPv6 address.",43,null],[11,"fmt","","",43,null],[11,"fmt","","",43,null],[11,"clone","","",43,null],[11,"eq","","",43,null],[11,"hash","","",43,null],[11,"partial_cmp","","",43,null],[11,"cmp","","",43,null],[11,"from","","",43,{"inputs":[{"name":"u32"}],"output":{"name":"ipv4addr"}}],[11,"from","","",43,null],[11,"fmt","","",42,null],[11,"fmt","","",42,null],[11,"clone","","",42,null],[11,"eq","","",42,null],[11,"hash","","",42,null],[11,"partial_cmp","","",42,null],[11,"cmp","","",42,null],[11,"from","","",42,null],[11,"from_str","","",43,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"from_str","","",42,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"fmt","rotor::mio::tcp","",4,null],[11,"eq","","",4,null],[11,"clone","","",4,null],[11,"spawn_error","rotor","Called instead of spawned, if there is no slab space",20,null]],"paths":[[3,"EventedFd"],[8,"TryRead"],[8,"TryWrite"],[8,"TryAccept"],[4,"Shutdown"],[8,"Handler"],[4,"IpAddr"],[3,"Token"],[3,"IoEvent"],[4,"NotifyError"],[4,"SpawnError"],[4,"Compose2"],[3,"Handler"],[3,"Scope"],[3,"EarlyScope"],[3,"Response"],[3,"Notifier"],[3,"Config"],[3,"Loop"],[3,"LoopInstance"],[8,"Machine"],[8,"GenericScope"],[3,"EventSet"],[3,"Queue"],[3,"PollOpt"],[3,"EventLoopConfig"],[3,"EventLoop"],[3,"Sender"],[3,"TcpStream"],[3,"TcpListener"],[3,"UdpSocket"],[3,"UnixSocket"],[3,"UnixStream"],[3,"UnixListener"],[3,"PipeReader"],[3,"PipeWriter"],[3,"Poll"],[3,"Events"],[3,"Selector"],[3,"Io"],[3,"Timeout"],[3,"TimerError"],[3,"Ipv6Addr"],[3,"Ipv4Addr"]]}; initSearch(searchIndex);