Crate hydra

source ·

Structs§

  • Configuration values for an application.
  • Occurs when an argument to a function was incorrect or not valid at the given time.
  • The child specification describes how the supervisor starts, shuts down, and restarts child processes.
  • Information about a GenServer call request.
  • Options used to configure a GenServer.
  • A concurrent, consistent hash ring.
  • Represents a local object in the current process userspace.
  • Error when there are no permits available.
  • Options used to configure this node as a distributed node.
  • An owned semaphore is identical to a Semaphore except it can be owned by an actor and it’s permits can still be shared externally.
  • Represents an owned permit to a OwnedSemaphore.
  • A light weight task that can send and receive messages.
  • A collection of configurable flags for a process.
  • Used to receive messages from processes.
  • Provides a centralized ‘registry’ of processes using any value as a key.
  • Options used to configure a Registry.
  • A semaphore maintains a set of permits. Permits are used to synchronize access to a shared resource. A semaphore differs from a mutex in that it can allow more than one concurrent caller to access the shared resource at a time.
  • Represents a permit to a Semaphore.
  • A supervisor is a process which supervises other processes, which we refer to as child processes. Supervisors are used to build a hierarchical process structure called a supervision tree. Supervision trees provide fault-tolerance and encapsulate how our applications start and shutdown.
  • Information about a child of a Supervisor.
  • Contains the counts of all of the supervised children.
  • Options used to configure a Supervisor.
  • A task is a lightweight thread of execution designed to run one particular action.
  • An error occured while executing the task.
  • The result of a spawned task, can be used to await the task result, or shutdown the task.
  • Occurs when an operation has timed out.

Enums§

Traits§

  • Main application logic and entry point for a hydra program.
  • A trait for implementing the server of a client-server relation.
  • An object that can be sent or received to/from a process.

Attribute Macros§

  • Marks an async function to be executed as a hydra application.
  • Marks an async function to be executed as a hydra application suitable for the test environment.