Struct rustler::env::SavedTerm [] [src]

pub struct SavedTerm { /* fields omitted */ }

A term that was created in an OwnedEnv and saved for later use.

These are created by calling OwnedEnv::save(). See that method's documentation for an example.

Methods

impl SavedTerm
[src]

Load this saved term back into its environment.

Panics

env must be the NifEnv of a .run() or .send() call on the OwnedEnv where this term was saved, and the OwnedEnv must not have been cleared or dropped since then. Otherwise this method will panic.

Trait Implementations

impl Clone for SavedTerm
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Send for SavedTerm
[src]