pub trait LocalKeyExt<T> {
    fn borrow<'stack>(&'static self, token: &'stack StackToken) -> &'stack T;
}
Expand description

Adds StackToken support to the standard library’s LocalKey.

Required Methods

Borrows the value from the TLS with a StackToken.

Implementations on Foreign Types

Implementors