[][src]Module artichoke::prelude

A "prelude" for users of the artichoke-backend crate.

This prelude is similar to the standard library's prelude in that you'll almost always want to import its entire contents, but unlike the standard library's prelude, you'll have to do so manually:

use artichoke::prelude::*;

The prelude may grow over time as additional items see ubiquitous use.

Re-exports

pub use crate::interpreter;

Modules

core

A "prelude" for users of the artichoke-core crate.

Structs

ArgumentError
Artichoke

Interpreter instance.

EOFError
EncodingError
Exception
Fatal
FiberError
FloatDomainError
FrozenError
Guard

Interpreter guard that prepares an Artichoke to re-enter an FFI boundary.

IOError
IndexError
Interrupt
KeyError
LoadError
LocalJumpError
NameError
NoMemoryError
NoMethodError
NotImplementedError
RangeError
RegexpError
ReleaseMetadata
RuntimeError
ScriptError
SecurityError
SignalException
StandardError
StopIteration
SyntaxError
SystemCallError
SystemExit
SystemStackError
ThreadError
TypeError
UncaughtThrowError
ZeroDivisionError
_

Traits

MrbGarbageCollection

Garbage collection primitives for an mruby interpreter.

RubyException

Polymorphic exception type that corresponds to Ruby's Exception.

Functions

init
interpreter

Create and initialize an Artichoke interpreter.

interpreter_with_config

Create and initialize an Artichoke interpreter with build metadata.

raise

Raise implementation for RubyException boxed trait objects.