Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aeplay/kay
/ functions
Functions
151 in github.com/aeplay/kay
⨍
Functions
151
◇
Types & classes
45
↓ 16 callers
Method
as_usize
(&self)
src/type_registry.rs:18
↓ 14 callers
Method
len
(&self)
src/class/inbox.rs:38
↓ 9 callers
Method
clone
(&self)
src/external.rs:48
↓ 8 callers
Method
as_raw
(&self)
examples/simple_common/src/counter/kay_auto.rs:14
↓ 7 callers
Method
into
(self)
src/class/instance_store/slot_map.rs:36
↓ 6 callers
Method
send
Manually send a message
src/actor_system.rs:124
↓ 4 callers
Method
at_index_mut
(&mut self, index: SlotIndices)
src/class/instance_store/mod.rs:38
↓ 4 callers
Method
at_mut
(&mut self, id: usize, version: u8)
src/class/instance_store/mod.rs:42
↓ 4 callers
Method
drain
(&mut self)
src/class/inbox.rs:50
↓ 4 callers
Method
get
(&self)
src/type_registry.rs:59
↓ 4 callers
Method
next
(&mut self)
src/class/inbox.rs:71
↓ 4 callers
Method
process_all_messages
Process and handle all enqueued messages in the system and the resulting messages, up to a recursion depth of 1000
src/actor_system.rs:176
↓ 3 callers
Function
broadcast_instance_id
()
src/id.rs:29
↓ 3 callers
Function
broadcast_machine_id
()
src/id.rs:33
↓ 3 callers
Method
enqueue
( &mut self, message_type_id: ShortTypeId, mut packet: Packet<M>, )
src/networking.rs:256
↓ 3 callers
Method
get_name
(&self, short_id: ShortTypeId)
src/type_registry.rs:74
↓ 3 callers
Method
indices_of_no_version_check
(&self, id: usize)
src/class/instance_store/slot_map.rs:93
↓ 3 callers
Method
into
(self)
examples/simple_common/src/counter/kay_auto.rs:150
↓ 3 callers
Method
networking_send_and_receive
Send and receive messages from peers in the networking topology.
src/actor_system.rs:199
↓ 3 callers
Method
panic_happened
Returns whether the system is in a panicked state
src/actor_system.rs:347
↓ 3 callers
Method
world
Get a `World` handle for the system.
src/actor_system.rs:189
↓ 2 callers
Method
add
(&mut self, initial_state: *mut (), state_v_table: &ActorStateVTable, increment_n_instances: bool)
src/class/instance_store/mod.rs:58
↓ 2 callers
Method
add_listener
(&mut self, listener: CounterListenerID, _: &mut World)
examples/simple_common/src/counter/mod.rs:36
↓ 2 callers
Method
allocate_id
(&mut self, base_id: RawID)
src/class/instance_store/mod.rs:48
↓ 2 callers
Method
associate
(&mut self, id: usize, new_entry: SlotIndices)
src/class/instance_store/slot_map.rs:73
↓ 2 callers
Method
connect
(&mut self)
src/networking.rs:68
↓ 2 callers
Function
dispatch_batch
( data: &[u8], classes: &mut [Option<Class>], implementors: &mut [Option<Vec<ShortTypeId>>], n
src/networking.rs:468
↓ 2 callers
Method
enqueue_in_batch
(&mut self, message_size: usize)
src/networking.rs:378
↓ 2 callers
Method
id
Get a base RawID for an actor or actor trait
src/actor_system.rs:156
↓ 2 callers
Method
is_still_compact
(&self)
src/external.rs:81
↓ 2 callers
Method
networking_connect
Connect to peers in the networking topology.
src/actor_system.rs:194
↓ 2 callers
Method
networking_finish_turn
Mark the local "networking turn" as finished. Networking turns are used to track and manage time drift between peers in the networking topology.
src/actor_system.rs:206
↓ 2 callers
Method
put
(&mut self, mut packet: Packet<M>, message_registry: &TypeRegistry)
src/class/inbox.rs:19
↓ 2 callers
Method
put_raw
(&mut self, buf: &[u8])
src/class/inbox.rs:42
↓ 2 callers
Method
remove_at_index
(&mut self, i: SlotIndices, id: RawID, state_v_table: &ActorStateVTable)
src/class/instance_store/mod.rs:90
↓ 2 callers
Method
resize
(&mut self, id: usize, state_v_table: &ActorStateVTable)
src/class/instance_store/mod.rs:100
↓ 2 callers
Method
resize_at_index
(&mut self, old_i: SlotIndices, state_v_table: &ActorStateVTable)
src/class/instance_store/mod.rs:108
↓ 2 callers
Function
setup
(system: &mut ActorSystem)
examples/simple_common/src/counter/mod.rs:83
↓ 2 callers
Method
swap_remove
(&mut self, indices: SlotIndices, state_v_table: &ActorStateVTable)
src/class/instance_store/mod.rs:71
↓ 1 callers
Method
add_listener
(&self, listener: CounterListenerID, world: &mut World)
examples/simple_common/src/counter/kay_auto.rs:107
↓ 1 callers
Method
allocate_instance_id
(&mut self)
src/class/instance_store/mod.rs:34
↓ 1 callers
Method
as_u16
(&self)
src/type_registry.rs:22
↓ 1 callers
Function
auto_setup
(system: &mut ActorSystem)
examples/simple_common/src/counter/kay_auto.rs:161
↓ 1 callers
Method
bin
(&self)
src/class/instance_store/slot_map.rs:26
↓ 1 callers
Method
debug_all_n_turns
(&self)
src/networking.rs:296
↓ 1 callers
Function
dispatch_message
( data: &[u8], classes: &mut [Option<Class>], implementors: &mut [Option<Vec<ShortTypeId>>], n
src/networking.rs:502
↓ 1 callers
Method
finish_turn
(&mut self)
src/networking.rs:173
↓ 1 callers
Method
free
(&mut self, id: usize, version: usize)
src/class/instance_store/slot_map.rs:97
↓ 1 callers
Method
handle_messages
(&mut self, message_statistics: &mut [usize], world: &mut World)
src/class/mod.rs:113
↓ 1 callers
Method
in_queue_len
(&self)
src/networking.rs:668
↓ 1 callers
Method
increment_by
(&self, increment_amount: u32, world: &mut World)
examples/simple_common/src/counter/kay_auto.rs:104
↓ 1 callers
Method
increment_by
(&mut self, increment_amount: u32, world: &mut World)
examples/simple_common/src/counter/mod.rs:26
↓ 1 callers
Method
indices_of
(&self, id: usize, version: u8)
src/class/instance_store/slot_map.rs:81
↓ 1 callers
Method
is_global_broadcast
Check whether this RawID represents a global broadcast
src/id.rs:70
↓ 1 callers
Method
local_broadcast
Convert a given RawID into one that represents a local broadcast
src/id.rs:49
↓ 1 callers
Method
main_out_connection
(&self)
src/networking.rs:318
↓ 1 callers
Method
on_count_change
(&self, new_count: u32, history: CVec<u32>, world: &mut World)
examples/simple_common/src/counter/kay_auto.rs:20
↓ 1 callers
Method
on_count_change
(&mut self, new_count: u32, history: &CVec<u32>, _: &mut World)
examples/simple_common/src/counter/mod.rs:54
↓ 1 callers
Method
receive_broadcast
(&mut self, packet_ptr: *const (), world: &mut World, handler: &Box<HandlerFnRef>, state_v_table: &ActorStateV
src/class/instance_store/mod.rs:135
↓ 1 callers
Method
receive_instance
(&mut self, recipient_id: RawID, packet_ptr: *const (), world: &mut World, handler: &Box<HandlerFnRef>, state_
src/class/instance_store/mod.rs:114
↓ 1 callers
Method
remove
(&mut self, id: RawID, state_v_table: &ActorStateVTable)
src/class/instance_store/mod.rs:82
↓ 1 callers
Method
send_and_receive
( &mut self, classes: &mut [Option<Class>], implementors: &mut [Option<Vec<ShortTypeId
src/networking.rs:206
↓ 1 callers
Method
set_id
(&mut self, id: RawID)
examples/simple_common/src/counter/kay_auto.rs:45
↓ 1 callers
Method
single_message_cycle
(&mut self)
src/actor_system.rs:164
↓ 1 callers
Method
slot
(&self)
src/class/instance_store/slot_map.rs:30
↓ 1 callers
Method
try_receive
( &mut self, classes: &mut [Option<Class>], implementors: &mut [Option<Vec<ShortTypeId
src/networking.rs:436
↓ 1 callers
Method
try_send_pending
(&mut self)
src/networking.rs:406
↓ 1 callers
Method
turn
(&mut self, rc: Rc<RefCell<Self>>)
examples/simple_browser/src/main.rs:49
↓ 1 callers
Function
websocket_address
(address: &str)
src/networking.rs:323
Method
add_handler
Add a message handler to a registered actor class
src/actor_system.rs:100
Method
add_handler
( &mut self, message_id: ShortTypeId, handler: F, critical: bool, )
src/class/mod.rs:76
Method
add_spawner
Add an actor spawner to a registered actor class
src/actor_system.rs:112
Method
add_spawner
( &mut self, message_id: ShortTypeId, constructor: F, critical: bool, )
src/class/mod.rs:94
Method
allocate_id
(&mut self)
src/class/instance_store/slot_map.rs:62
Method
allocate_instance_id
Allocate a new instance id to be used by a to-be-spawned actor
src/actor_system.rs:333
Method
as_raw_string
Get the canonical string representation of the wrapped RawID
src/id.rs:210
Method
compact
(source: *mut Self, dest: *mut Self, _new_dynamic_part: *mut u8)
src/external.rs:87
Method
decompact
(source: *const Self)
src/external.rs:90
Method
default
()
src/tuning.rs:10
Method
default
()
src/type_registry.rs:80
Method
deref
(&self)
src/external.rs:62
Method
deref_mut
(&mut self)
src/external.rs:71
Method
deserialize
(deserializer: D)
src/id.rs:193
Method
dispatch_packet
( instance_store: &mut InstanceStore, v_table: &ActorVTable, message_type: ShortTypeId
src/class/mod.rs:120
Method
drop
(&mut self)
src/class/inbox.rs:94
Method
dynamic_size_bytes
(&self)
src/external.rs:84
Method
expecting
(&self, formatter: &mut ::std::fmt::Formatter)
src/id.rs:179
Method
fmt
(&self, f: &mut ::std::fmt::Formatter)
src/id.rs:87
Method
format
Get the canonical string format of a RawID
src/id.rs:75
Method
from
(id: ShortTypeId)
src/type_registry.rs:28
Method
from
Convert from actor ID to trait ID
src/actor.rs:37
Method
from
(source: chunky::MultiArenaIndex)
src/class/instance_store/slot_map.rs:42
Method
from_box
Create a new `External` directly from a `Box` holding the given content
src/external.rs:24
Method
from_raw
(id: RawID)
examples/simple_common/src/counter/kay_auto.rs:11
Method
from_raw_str
Create a `TypedID` based on the canoncial string representation of a `RawID`. Note: this should only be done when you are sure that the `RawID` actual
src/id.rs:221
Method
from_str
(s: &str)
src/id.rs:121
Method
get_actor_name
Get the name of an actor class by type ID
src/actor_system.rs:353
Method
get_actor_type_id_to_name_mapping
Get a mapping from actor type IDs to full names, for debugging.
src/actor_system.rs:285
Method
get_instance_counts
Get local instance counts of each actor class
src/actor_system.rs:226
Method
get_message_statistics
Get statistics of sent messages per type
src/actor_system.rs:239
next →
1–100 of 151, ranked by callers