rogue-runtime 0.1.0

Async RPC Runtime
Documentation
1
2
3
4
5
6
use crate::InstanceId;

/// Trait used to identify objects (data stored in database, instances of structs using rpc)
pub trait Identity: Send + Sync {
    fn id(&self) -> &InstanceId;
}