Module ockam_core::lib [−][src]
Expand description
A facade around the various collections and primitives needed when using no alloc, alloc only, or std modes
Modules
The Clone
trait for types that cannot be ‘implicitly copied’.
Functionality for ordering and comparison.
Traits for conversions between types.
The Default
trait for types which may have meaningful default values.
Traits for working with Errors.
Constants specific to the f32
single-precision floating point type.
Constants specific to the f64
double-precision floating point type.
Utilities for formatting and printing String
s.
Constants for the 8-bit signed integer type.
Constants for the 16-bit signed integer type.
Constants for the 32-bit signed integer type.
Constants for the 64-bit signed integer type.
Constants for the pointer-sized signed integer type.
Composable external iteration.
Primitive traits and types representing basic properties of types.
Basic functions for dealing with memory.
Networking primitives for TCP/UDP communication.
Additional functionality for numerics.
Optional values.
Error handling with the Result
type.
A dynamically-sized view into a contiguous sequence, [T]
.
Unicode string slices.
Constants for the 8-bit unsigned integer type.
Constants for the 16-bit unsigned integer type.
Constants for the 32-bit unsigned integer type.
Constants for the 64-bit unsigned integer type.
Constants for the pointer-sized unsigned integer type.
Macros
Derive macro generating an impl of the trait Clone
.
Derive macro generating an impl of the trait Debug
.
Derive macro generating an impl of the trait Default
.
Structs
A map based on a B-Tree.
A set based on a B-Tree.
A priority queue implemented with a binary heap.
A pointer type for heap allocation.
A mutable memory location.
A hash map implemented with quadratic probing and SIMD lookup.
A hash set implemented as a HashMap
where the value is ()
.
A doubly-linked list with owned nodes.
Zero-sized type used to mark things that “act like” they own a T
.
A (half-open) range bounded inclusively below and exclusively above
(start..end
).
A mutable memory location with dynamically checked borrow rules
A UTF-8–encoded, growable string.
A contiguous growable array type, written as Vec<T>
and pronounced ‘vector’.
A double-ended queue implemented with a growable ring buffer.
Provides intentionally-wrapped arithmetic on T
.
Enums
A clone-on-write smart pointer.
The Option
type. See the module level documentation for more.
Traits
A common trait for the ability to explicitly duplicate an object.
?
formatting.
A trait for giving a type a useful default value.
Used for immutable dereferencing operations, like *v
.
Used for mutable dereferencing operations, like in *v = 1;
.
Format trait for an empty format, {}
.
Used to do value-to-value conversions while consuming the input value. It is the reciprocal of
Into
.
A value-to-value conversion that consumes the input value. The
opposite of From
.
A generalization of Clone
to borrowed data.
A trait for converting a value to a String
.