Module panic

Module panic 

Source
Expand description

Dummy runtime implementation which panics on use.

This is used when no default runtime is enabled, and allows libraries to be built against this crate that use features requiring a runtime, but remaining runtime-agnostic.

Binary crates should enable a specific default runtime, or enable the default-disabled feature to ensure this runtime is not used.

Structs§

Runtime
Type representing the dummy runtime.

Functions§

spawn_actor
Spawn an actor onto the dummy runtime. Will always panic.

Type Aliases§

Timer
Alias for a dummy timer. This type can be default-constructed. Will always panic on use.