var searchIndex = {}; searchIndex["hadean"] = {"doc":"Bindings for Hadean","items":[[3,"Receiver","hadean","Receiving end of a channel. Either returned by `spawn()`, given to a newly-spawned worker in its arguments, or opened by the user to accept a newly-spawned `ChannelType::Pid` channel end.",null,null],[3,"Sender","","Sending end of a channel. Either returned by `spawn()`, given to a newly-spawned worker in its arguments, or opened by the user to accept a newly-spawned `ChannelType::Pid` channel end.",null,null],[3,"Connection","","TCP duplex connection.",null,null],[3,"Process","","One or more `Process`s are given to `spawn()`. Each contains a function, and its arguments. The arguments are the only thing copied over, i.e. global variables are not, unlike Linux's `fork`.",null,null],[3,"Channel","","Zero or more channels are given to `spawn()`. At least one of `src` and `dst` must be of type `ChannelType::Sibling()`, and they cannot be the same.",null,null],[3,"Pid","","Opaque "Process ID" – a reference to a process that can be sent around and ultimately handed to `spawn`.",null,null],[4,"ChannelType","","ChannelType enum.",null,null],[13,"Sibling","","Open a channel at the nth process in the processes handed to `spawn`.",0,null],[13,"Self_","","Open a channel at this process.",0,null],[13,"Pid","","Open a channel at the process denoted by `pid`.",0,null],[13,"Tcp","","Open TCP connection to this IPv4 address",0,null],[5,"spawn","","Spawn one or more processes, and zero or more channels on those processes.",null,null],[5,"pid","","Get the pid of this current process",null,{"inputs":[],"output":{"name":"pid"}}],[8,"ProcessSend","","Can be directly (de)serialised. Implemented for all types that don't contain pointers or references.",null,null],[8,"ProcessSendable","","Can be (de)serialised. Implemented for all `ProcessSend` types, as well as those implemented manually, including `String` and `Vec`.",null,null],[10,"processsendable_write","","Serialisation",1,null],[10,"processsendable_read","","Deserialisation",1,null],[11,"open","","Wraps `Receiver::with_len(16384)`",2,{"inputs":[],"output":{"name":"receiver"}}],[11,"with_len","","Accepts a newly-spawned `ChannelType::Pid` channel.",2,{"inputs":[{"name":"usize"}],"output":{"name":"receiver"}}],[11,"receive","","Blocking receive.",2,null],[11,"drop","","",2,null],[11,"open","","Wraps `Sender::with_len(16384)`",3,{"inputs":[],"output":{"name":"sender"}}],[11,"with_len","","Accepts a newly-spawned `ChannelType::Pid` channel.",3,{"inputs":[{"name":"usize"}],"output":{"name":"sender"}}],[11,"send","","Blocking send.",3,null],[11,"drop","","",3,null],[11,"new","","Create a new `Process` to give to `spawn`.",4,null],[11,"fmt","","",0,null],[11,"fmt","","",5,null],[11,"new","","Create a new `Channel` to give to `spawn`.",5,{"inputs":[{"name":"channeltype"},{"name":"channeltype"}],"output":{"name":"channel"}}],[11,"fmt","","",6,null],[11,"hash","","",6,null],[11,"eq","","",6,null],[11,"ne","","",6,null],[11,"clone","","",6,null]],"paths":[[4,"ChannelType"],[8,"ProcessSendable"],[3,"Receiver"],[3,"Sender"],[3,"Process"],[3,"Channel"],[3,"Pid"]]}; initSearch(searchIndex);