Expand description
Derive macros to automatically implement the most common traits from rio_rs
Macros§
- make_
registry - This will define a registry, at the same time it will create the registry to be used by the server and the types that the client can use for such registry
Derive Macros§
- Managed
State - Implements State for you struct’s attributes. Creating set_state and get_state for each
attribute decorated with
#[managed_state]
- Message
- Implements the [rio_rs::registry::Message] trait for the struct. This is a blank implementation
- Type
Name - Implements the trait [rio_rs::registry::IdentifiableType]
- WithId
- This macro implements [rio_rs::service_object::WithId], which is needed for writing services using the framework