MCPcopy Create free account

hub / github.com/aeplay/kay / functions

Functions151 in github.com/aeplay/kay

Methodget_or_register
(&mut self)
src/type_registry.rs:67
Methodget_queue_lengths
Get the current length of all actor message queues
src/actor_system.rs:261
Methodglobal_broadcast
Convert a given RawID into one that represents a global broadcast
src/id.rs:57
Methodglobal_broadcast
Get an ID representing a global broadcast to actors of type `Target`
src/id.rs:241
Methodglobal_broadcast
Get a RawID for a broadcast to all global actors (across all network peers) of a certain type
src/actor_system.rs:328
Methodglobal_first
Get the global first actor instance of type `Target`
src/id.rs:231
Methodglobal_first
Get the RawID of the first global actor (among all network peers) of a certain type (Note: no such actor might exist)
src/actor_system.rs:315
Methodid
(&self)
examples/simple_common/src/counter/kay_auto.rs:42
Methodid_as
Convert the ID of this instance into an actor trait ID. Only works if the actor implements the corresponding actor trait
src/actor.rs:28
Methodinto_box
Take the content out of the external, as a `Box`. This, like stealing/cloning can only be done once.
src/external.rs:39
Methodinvalid
()
src/class/instance_store/slot_map.rs:19
Methodis_broadcast
Check whether this RawID represents a (local || global) broadcast
src/id.rs:65
Methodlocal_broadcast
Get an ID representing a local broadcast to actors of type `Target`
src/id.rs:236
Methodlocal_broadcast
Get a RawID for a broadcast to all local actors of a certain type
src/actor_system.rs:322
Methodlocal_first
Get the local first actor instance of type `Target`
src/id.rs:226
Methodlocal_first
Get the RawID of the first local actor of a certain type (Note: no such actor might exist)
src/actor_system.rs:309
Methodlocal_machine_id
Get the machine ID of this system in the network
src/actor_system.rs:341
Functionmain
()
examples/simple_server/src/main.rs:7
Functionmain
()
examples/simple_common/build.rs:4
Functionmain
()
examples/simple_browser/src/main.rs:17
Methodnetworking_debug_all_n_turns
Get a summary of the **local view** of the networking turn state of all connected peers.
src/actor_system.rs:221
Methodnetworking_machine_id
Get the machine ID of this system in the network
src/actor_system.rs:211
Methodnetworking_n_turns
Get the local number of networking turns
src/actor_system.rs:216
Methodnew
Create a new RawID from its parts
src/id.rs:39
Methodnew
Create a new actor system that lives in memory only
src/actor_system.rs:35
Methodnew
(id: u16)
src/type_registry.rs:14
Methodnew
Configure a new `Networking`
src/networking.rs:40
Methodnew
Create a new `External` holding the given content
src/external.rs:17
Methodnew
(v_table: ActorVTable, storage: Rc<dyn chunky::ChunkStorage>, tuning: &Tuning)
src/class/mod.rs:65
Methodnew
(ident: &chunky::Ident, storage: Rc<dyn chunky::ChunkStorage>, tuning: &Tuning)
src/class/inbox.rs:13
Methodnew
(ident: &chunky::Ident, typical_size: usize, storage: Rc<dyn chunky::ChunkStorage>, tuning: &Tuning)
src/class/instance_store/mod.rs:21
Methodnew
(bin: usize, slot: usize)
src/class/instance_store/slot_map.rs:12
Methodnew_for_actor_type
()
src/class/mod.rs:40
Methodnew_mmap_persisted
(networking: Networking, directory: &P, tuning: Tuning)
src/actor_system.rs:41
Methodnew_with_storage
Create a new actor system backed by any `chunky::ChunkStorage`
src/actor_system.rs:46
Methodregister
Register a new actor class with the system (assigning it a type ID)
src/actor_system.rs:61
Methodregister_dummy
Register a dummy actor class without allocating any resources or dispatchers. This can be used to get consistent type ID assignment between different
src/actor_system.rs:74
Methodregister_handlers
(system: &mut ActorSystem)
examples/simple_common/src/counter/kay_auto.rs:26
Methodregister_implementor
Register an actor class as an implementor of an actor trait, makes it receive messages that are broadcast to the actor trait ID.
src/actor_system.rs:91
Methodregister_new
(&mut self)
src/type_registry.rs:48
Methodregister_trait
Register a new actor trait with the system
src/actor_system.rs:79
Methodregister_trait_message
Register a message that an actor trait handles
src/actor_system.rs:85
Methodreset_message_statistics
Reset the counter for message statistics
src/actor_system.rs:256
Methodserialize
(&self, serializer: S)
src/id.rs:153
Methodshort_id
(&mut self)
src/actor_system.rs:160
Methodspawn
(initial_count: u32, world: &mut World)
examples/simple_common/src/counter/kay_auto.rs:110
Methodspawn
(id: CounterID, initial_count: u32, _: &mut World)
examples/simple_common/src/counter/mod.rs:17
Methodsteal
A more explicit way to clone an External, which effectively takes the held value out of the old external. Stealing or cloning twice from the same exte
src/external.rs:33
Functiontest_websocket_address
()
src/networking.rs:340
Methodtypical_size
()
src/storage_aware.rs:3
Methodvisit_str
(self, s: &str)
src/id.rs:183
← previous101–151 of 151, ranked by callers