Skip to main content

Crate starlang_core

Crate starlang_core 

Source
Expand description

§starlang-core

Core types for Starlang (Distributed Rust Erlang Abstract Machine).

This crate provides the foundational types used throughout the Starlang ecosystem:

  • Atom - Interned string for efficient comparison
  • Pid - Process identifier
  • Ref - Unique reference for monitors and timers
  • ExitReason - Process termination reasons
  • Term - Trait for Erlang-like serializable terms (messages, keys, etc.)
  • SystemMessage - Internal system messages (Exit, Down, Timeout)
  • NodeId, NodeName, NodeInfo - Node identity for distribution

Re-exports§

pub use node::NodeId;
pub use node::NodeInfo;
pub use node::NodeName;

Modules§

node
Node identity types for distributed Starlang.

Macros§

atom
Create an atom from a string literal.

Structs§

Atom
An interned string.
Pid
A process identifier.
Ref
A unique reference.

Enums§

DecodeError
Error type for term decoding failures.
ExitReason
The reason a process exited.
SystemMessage
System-level messages delivered to processes.

Traits§

MessageDeprecated
Type alias for backward compatibility.
Term
A trait for Erlang-like terms that can be serialized and sent between processes.

Functions§

current_creation
Get the current creation value.
increment_creation
Increment the creation counter.