[−][src]Struct rustler::env::SavedTerm
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]
pub fn load<'a>(&self, env: Env<'a>) -> Term<'a>
[src]
Load this saved term back into its environment.
Panics
env
must be the Env
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]
fn clone(&self) -> SavedTerm
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Send for SavedTerm
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,