Struct Scope Stack

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

1pub struct ScopeStack<'a> { /* private fields */ }

Host-owned isolated scope stack returned by native scope-stack APIs.

Implementations

impl<'a> ScopeStack<'a>

impl<'a> ScopeStack<'a>

as_ptr

pub fn as_ptr(&self) -> *const NemoRelayNativeScopeStack

Returns the raw ABI pointer.

with_current

pub fn with_current<F>(&self, f: F) -> Result<()>where
    F: FnOnce() -> Result<()>,

Executes f while this stack is visible to host runtime APIs.

Trait Implementations

impl Drop for ScopeStack<'_>

impl Drop for ScopeStack<'_>

drop

fn drop(&mut self)