MCPcopy Create free account

hub / github.com/aeplay/kay / functions

Functions151 in github.com/aeplay/kay

↓ 16 callersMethodas_usize
(&self)
src/type_registry.rs:18
↓ 14 callersMethodlen
(&self)
src/class/inbox.rs:38
↓ 9 callersMethodclone
(&self)
src/external.rs:48
↓ 8 callersMethodas_raw
(&self)
examples/simple_common/src/counter/kay_auto.rs:14
↓ 7 callersMethodinto
(self)
src/class/instance_store/slot_map.rs:36
↓ 6 callersMethodsend
Manually send a message
src/actor_system.rs:124
↓ 4 callersMethodat_index_mut
(&mut self, index: SlotIndices)
src/class/instance_store/mod.rs:38
↓ 4 callersMethodat_mut
(&mut self, id: usize, version: u8)
src/class/instance_store/mod.rs:42
↓ 4 callersMethoddrain
(&mut self)
src/class/inbox.rs:50
↓ 4 callersMethodget
(&self)
src/type_registry.rs:59
↓ 4 callersMethodnext
(&mut self)
src/class/inbox.rs:71
↓ 4 callersMethodprocess_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 callersFunctionbroadcast_instance_id
()
src/id.rs:29
↓ 3 callersFunctionbroadcast_machine_id
()
src/id.rs:33
↓ 3 callersMethodenqueue
( &mut self, message_type_id: ShortTypeId, mut packet: Packet<M>, )
src/networking.rs:256
↓ 3 callersMethodget_name
(&self, short_id: ShortTypeId)
src/type_registry.rs:74
↓ 3 callersMethodindices_of_no_version_check
(&self, id: usize)
src/class/instance_store/slot_map.rs:93
↓ 3 callersMethodinto
(self)
examples/simple_common/src/counter/kay_auto.rs:150
↓ 3 callersMethodnetworking_send_and_receive
Send and receive messages from peers in the networking topology.
src/actor_system.rs:199
↓ 3 callersMethodpanic_happened
Returns whether the system is in a panicked state
src/actor_system.rs:347
↓ 3 callersMethodworld
Get a `World` handle for the system.
src/actor_system.rs:189
↓ 2 callersMethodadd
(&mut self, initial_state: *mut (), state_v_table: &ActorStateVTable, increment_n_instances: bool)
src/class/instance_store/mod.rs:58
↓ 2 callersMethodadd_listener
(&mut self, listener: CounterListenerID, _: &mut World)
examples/simple_common/src/counter/mod.rs:36
↓ 2 callersMethodallocate_id
(&mut self, base_id: RawID)
src/class/instance_store/mod.rs:48
↓ 2 callersMethodassociate
(&mut self, id: usize, new_entry: SlotIndices)
src/class/instance_store/slot_map.rs:73
↓ 2 callersMethodconnect
(&mut self)
src/networking.rs:68
↓ 2 callersFunctiondispatch_batch
( data: &[u8], classes: &mut [Option<Class>], implementors: &mut [Option<Vec<ShortTypeId>>], n
src/networking.rs:468
↓ 2 callersMethodenqueue_in_batch
(&mut self, message_size: usize)
src/networking.rs:378
↓ 2 callersMethodid
Get a base RawID for an actor or actor trait
src/actor_system.rs:156
↓ 2 callersMethodis_still_compact
(&self)
src/external.rs:81
↓ 2 callersMethodnetworking_connect
Connect to peers in the networking topology.
src/actor_system.rs:194
↓ 2 callersMethodnetworking_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 callersMethodput
(&mut self, mut packet: Packet<M>, message_registry: &TypeRegistry)
src/class/inbox.rs:19
↓ 2 callersMethodput_raw
(&mut self, buf: &[u8])
src/class/inbox.rs:42
↓ 2 callersMethodremove_at_index
(&mut self, i: SlotIndices, id: RawID, state_v_table: &ActorStateVTable)
src/class/instance_store/mod.rs:90
↓ 2 callersMethodresize
(&mut self, id: usize, state_v_table: &ActorStateVTable)
src/class/instance_store/mod.rs:100
↓ 2 callersMethodresize_at_index
(&mut self, old_i: SlotIndices, state_v_table: &ActorStateVTable)
src/class/instance_store/mod.rs:108
↓ 2 callersFunctionsetup
(system: &mut ActorSystem)
examples/simple_common/src/counter/mod.rs:83
↓ 2 callersMethodswap_remove
(&mut self, indices: SlotIndices, state_v_table: &ActorStateVTable)
src/class/instance_store/mod.rs:71
↓ 1 callersMethodadd_listener
(&self, listener: CounterListenerID, world: &mut World)
examples/simple_common/src/counter/kay_auto.rs:107
↓ 1 callersMethodallocate_instance_id
(&mut self)
src/class/instance_store/mod.rs:34
↓ 1 callersMethodas_u16
(&self)
src/type_registry.rs:22
↓ 1 callersFunctionauto_setup
(system: &mut ActorSystem)
examples/simple_common/src/counter/kay_auto.rs:161
↓ 1 callersMethodbin
(&self)
src/class/instance_store/slot_map.rs:26
↓ 1 callersMethoddebug_all_n_turns
(&self)
src/networking.rs:296
↓ 1 callersFunctiondispatch_message
( data: &[u8], classes: &mut [Option<Class>], implementors: &mut [Option<Vec<ShortTypeId>>], n
src/networking.rs:502
↓ 1 callersMethodfinish_turn
(&mut self)
src/networking.rs:173
↓ 1 callersMethodfree
(&mut self, id: usize, version: usize)
src/class/instance_store/slot_map.rs:97
↓ 1 callersMethodhandle_messages
(&mut self, message_statistics: &mut [usize], world: &mut World)
src/class/mod.rs:113
↓ 1 callersMethodin_queue_len
(&self)
src/networking.rs:668
↓ 1 callersMethodincrement_by
(&self, increment_amount: u32, world: &mut World)
examples/simple_common/src/counter/kay_auto.rs:104
↓ 1 callersMethodincrement_by
(&mut self, increment_amount: u32, world: &mut World)
examples/simple_common/src/counter/mod.rs:26
↓ 1 callersMethodindices_of
(&self, id: usize, version: u8)
src/class/instance_store/slot_map.rs:81
↓ 1 callersMethodis_global_broadcast
Check whether this RawID represents a global broadcast
src/id.rs:70
↓ 1 callersMethodlocal_broadcast
Convert a given RawID into one that represents a local broadcast
src/id.rs:49
↓ 1 callersMethodmain_out_connection
(&self)
src/networking.rs:318
↓ 1 callersMethodon_count_change
(&self, new_count: u32, history: CVec<u32>, world: &mut World)
examples/simple_common/src/counter/kay_auto.rs:20
↓ 1 callersMethodon_count_change
(&mut self, new_count: u32, history: &CVec<u32>, _: &mut World)
examples/simple_common/src/counter/mod.rs:54
↓ 1 callersMethodreceive_broadcast
(&mut self, packet_ptr: *const (), world: &mut World, handler: &Box<HandlerFnRef>, state_v_table: &ActorStateV
src/class/instance_store/mod.rs:135
↓ 1 callersMethodreceive_instance
(&mut self, recipient_id: RawID, packet_ptr: *const (), world: &mut World, handler: &Box<HandlerFnRef>, state_
src/class/instance_store/mod.rs:114
↓ 1 callersMethodremove
(&mut self, id: RawID, state_v_table: &ActorStateVTable)
src/class/instance_store/mod.rs:82
↓ 1 callersMethodsend_and_receive
( &mut self, classes: &mut [Option<Class>], implementors: &mut [Option<Vec<ShortTypeId
src/networking.rs:206
↓ 1 callersMethodset_id
(&mut self, id: RawID)
examples/simple_common/src/counter/kay_auto.rs:45
↓ 1 callersMethodsingle_message_cycle
(&mut self)
src/actor_system.rs:164
↓ 1 callersMethodslot
(&self)
src/class/instance_store/slot_map.rs:30
↓ 1 callersMethodtry_receive
( &mut self, classes: &mut [Option<Class>], implementors: &mut [Option<Vec<ShortTypeId
src/networking.rs:436
↓ 1 callersMethodtry_send_pending
(&mut self)
src/networking.rs:406
↓ 1 callersMethodturn
(&mut self, rc: Rc<RefCell<Self>>)
examples/simple_browser/src/main.rs:49
↓ 1 callersFunctionwebsocket_address
(address: &str)
src/networking.rs:323
Methodadd_handler
Add a message handler to a registered actor class
src/actor_system.rs:100
Methodadd_handler
( &mut self, message_id: ShortTypeId, handler: F, critical: bool, )
src/class/mod.rs:76
Methodadd_spawner
Add an actor spawner to a registered actor class
src/actor_system.rs:112
Methodadd_spawner
( &mut self, message_id: ShortTypeId, constructor: F, critical: bool, )
src/class/mod.rs:94
Methodallocate_id
(&mut self)
src/class/instance_store/slot_map.rs:62
Methodallocate_instance_id
Allocate a new instance id to be used by a to-be-spawned actor
src/actor_system.rs:333
Methodas_raw_string
Get the canonical string representation of the wrapped RawID
src/id.rs:210
Methodcompact
(source: *mut Self, dest: *mut Self, _new_dynamic_part: *mut u8)
src/external.rs:87
Methoddecompact
(source: *const Self)
src/external.rs:90
Methoddefault
()
src/tuning.rs:10
Methoddefault
()
src/type_registry.rs:80
Methodderef
(&self)
src/external.rs:62
Methodderef_mut
(&mut self)
src/external.rs:71
Methoddeserialize
(deserializer: D)
src/id.rs:193
Methoddispatch_packet
( instance_store: &mut InstanceStore, v_table: &ActorVTable, message_type: ShortTypeId
src/class/mod.rs:120
Methoddrop
(&mut self)
src/class/inbox.rs:94
Methoddynamic_size_bytes
(&self)
src/external.rs:84
Methodexpecting
(&self, formatter: &mut ::std::fmt::Formatter)
src/id.rs:179
Methodfmt
(&self, f: &mut ::std::fmt::Formatter)
src/id.rs:87
Methodformat
Get the canonical string format of a RawID
src/id.rs:75
Methodfrom
(id: ShortTypeId)
src/type_registry.rs:28
Methodfrom
Convert from actor ID to trait ID
src/actor.rs:37
Methodfrom
(source: chunky::MultiArenaIndex)
src/class/instance_store/slot_map.rs:42
Methodfrom_box
Create a new `External` directly from a `Box` holding the given content
src/external.rs:24
Methodfrom_raw
(id: RawID)
examples/simple_common/src/counter/kay_auto.rs:11
Methodfrom_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
Methodfrom_str
(s: &str)
src/id.rs:121
Methodget_actor_name
Get the name of an actor class by type ID
src/actor_system.rs:353
Methodget_actor_type_id_to_name_mapping
Get a mapping from actor type IDs to full names, for debugging.
src/actor_system.rs:285
Methodget_instance_counts
Get local instance counts of each actor class
src/actor_system.rs:226
Methodget_message_statistics
Get statistics of sent messages per type
src/actor_system.rs:239
next →1–100 of 151, ranked by callers