[−]Module dart::dart_handle
Basic safe wrapper of a Dart_Handle
,
management of error handles, and message handling. This module
aims to provide a filter between what is safe and what is unsafe.
It will try to expose a safe api for the most part to put users
to rest on the safety of their calls. Invariants must be upheld
though, and as such the creation of a UnverifiedDartHandle
has
safety restrictions.
This module also tries to speak in generic terms of
UnverifiedDartHandle
s and avoids the usage of the smart wrapper
types in the dart_types
module. This is
done because of inheritance not being modeled by dart handles,
and the possibility of providing another type instead of the one
originally intended.
Structs
Error | An error which may be any of |
NativePort | |
Port | |
UnverifiedDartHandle | A smart wrapper around a |
Enums
ErrorKind |
Traits
DartHandle | Describes a smart wrapper around a dart handle. This is
effectively a "Has a |
TypedData |
Functions
enter_scope⚠ | |
exit_scope⚠ | |
set_thread_name⚠ | |
version_string |