sandkiste
provides an abstract API for the Rust programming language to allow
executing scripting language code snippets in a sandbox.
See contained LICENSE
file (MIT License).
TypeMismatch
and DatumConversionFailure
replace
DatumViewError
and DatumConversionError
. The try_into_
and
try_as_
methods (e.g. try_into_string
) in the types
module
return TypeMismatch
as error type now, which is
Send + Sync + 'static
.MaybeFunction::from_function
(use From
instead)Nullable
types should also implement From<Option<T>>
where T: Into<Self>
MaybeFunction
and MaybeOpaque
traits
Borrow
as supertrait to MaybeFunction::FunctionRef
and
MaybeOpaque::OpaqueRef
TryInto
as supertrait to MaybeOpaque
and added methods
MaybeOpaque::try_into_opaque
and MaybeOpaque::is_opaque
with
default implementationsFrom<Self::Function>
as supertrait to MaybeFunction
MaybeFunction::from_function
in favor of using the
From
traitMaybeFunction::FunctionRef<'a>
and
MaybeOpaque::OpaqueRef<'a>
have been removed and must be provided
manually.