Trait axns::AxNamespaceIf

source ·
pub trait AxNamespaceIf {
    // Required method
    fn current_namespace_base() -> *mut u8;
}
Expand description

The interfaces need to be implemented when enable thread-local namespaces.

Required Methods§

source

fn current_namespace_base() -> *mut u8

Returns the pointer to the current namespace.

It usually needs to be obtained from the thread local storage.

Object Safety§

This trait is not object safe.

Implementors§