Skip to main content

Module types

Module types 

Source
Expand description

Kernel types.

Structs§

Opaque
Stores an opaque value.
ScopeGuard
Runs a cleanup function/closure when dropped.

Constants§

NotThreadSafe
Used to construct instances of type NotThreadSafe similar to how PhantomData is constructed.

Traits§

ForeignOwnable
Used to transfer ownership to and from foreign (non-Rust) languages.

Type Aliases§

NotThreadSafe
Zero-sized type to mark types not Send.