Skip to main content

Module types

Module types 

Source
Expand description

Kernel types.

Structs§

ARef
An owned reference to an always-reference-counted object.
Opaque
Stores an opaque value.
ScopeGuard
Runs a cleanup function/closure when dropped.

Enums§

Either
A sum type that always holds either a value of type L or R.

Traits§

AlwaysRefCounted
Types that are always reference counted.
AsBytes
Types that can be viewed as an immutable slice of initialized bytes.
ForeignOwnable
Used to transfer ownership to and from foreign (non-Rust) languages.
FromBytes
Types for which any bit pattern is valid.