Skip to main content

Crate photon_core

Crate photon_core 

Source
Expand description

Core identity and shared types for Photon (no delivery topology).

Portable actor reconstruction used by handlers and hosts. Delivery backends and the runtime live in other crates.

§Entry points

Re-exports§

pub use error::IdentityError;
pub use identity::Actor;
pub use identity::IdentityFactory;
pub use stub_identity::JsonActor;
pub use stub_identity::JsonIdentityFactory;

Modules§

error
Identity and factory errors.
identity
Identity reconstruction port (injected at integration boundary).
stub_identity
Minimal JSON identity factory for tests, docs, and dev and test runs.

Macros§

actor_downcast_methods
Expands the standard Actor Any downcast method bodies.