[][src]Crate loa

Modules

assembly
bytecode
fmt

Utilities for formatting and printing Strings.

format
generation
optimization
semantics
server
syntax
vm

Macros

debug

Logs a message at the debug level.

error

Logs a message at the error level.

info

Logs a message at the info level.

log

The standard logging macro.

log_enabled

Determines if a message logged at the specified level in that module will be logged.

trace

Logs a message at the trace level.

warn

Logs a message at the warn level.

Structs

Arc

A thread-safe reference-counting pointer. 'Arc' stands for 'Atomically Reference Counted'.

BasicReporter
BigInt

A big signed integer type.

BigUint

A big unsigned integer type.

Cache
HashMap

A hash map implemented with quadratic probing and SIMD lookup.

HashSet

A hash set implemented as a HashMap where the value is ().

Id
Iter

Immutable slice iterator

Location
Metadata

Metadata about a log message.

MetadataBuilder

Builder for Metadata.

Mutex

A mutual exclusion primitive useful for protecting shared data

ParseLevelError

The type returned by from_str when the string doesn't match any of the log levels.

Record

The "payload" of a log message.

RecordBuilder

Builder for Record.

SetLoggerError

The type returned by set_logger if set_logger has already been called.

Source
Span
Stack

Enums

BitSize
Cow

A clone-on-write smart pointer.

Diagnostic
DiagnosticLevel
InheritanceViolation
Level

An enum representing the available verbosity levels of the logger.

LevelFilter

An enum representing the available verbosity level filters of the logger.

SourceKind
URI

Constants

STATIC_MAX_LEVEL

The statically resolved maximum log level.

Traits

Any

A trait to emulate dynamic typing.

Error

Error is a trait representing the basic expectations for error values, i.e., values of type E in Result<T, E>. Errors must describe themselves through the Display and Debug traits, and may provide cause chain information:

Future

A future represents an asynchronous computation.

Log

A trait encapsulating the operations required of a logger.

Pow

Binary operator for raising a value to a power.

Reporter

Functions

logger

Returns a reference to the logger.

max_level

Returns the current maximum log level.

override_sdk_dir
sdk_dir
sdk_glob
sdk_path
set_logger

Sets the global logger to a &'static Log.

set_logger_racy

A thread-unsafe version of set_logger.

set_max_level

Sets the global maximum log level.

Type Definitions

BigFraction

Fraction consisting from two BigUint numbers