Type Alias loki::rest::Context

source ·
pub type Context = Arc<Mutex<AdversaryRest>>;

Aliased Type§

struct Context {
    ptr: NonNull<ArcInner<Mutex<AdversaryRest>>>,
    phantom: PhantomData<ArcInner<Mutex<AdversaryRest>>>,
    alloc: Global,
}

Fields§

§ptr: NonNull<ArcInner<Mutex<AdversaryRest>>>§phantom: PhantomData<ArcInner<Mutex<AdversaryRest>>>§alloc: Global

Trait Implementations§

1.0.0 · source§

impl<T, A> Deref for Arc<T, A>where A: Allocator, T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.