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