pub type ContextLock = Arc<RwLock<Context>>;
Aliased Type§
struct ContextLock {
ptr: NonNull<ArcInner<RwLock<Context>>>,
phantom: PhantomData<ArcInner<RwLock<Context>>>,
alloc: Global,
}
Fields§
§ptr: NonNull<ArcInner<RwLock<Context>>>
§phantom: PhantomData<ArcInner<RwLock<Context>>>
§alloc: Global
Trait Implementations§
1.52.0 · source§impl<T> Error for Arc<T, Global>where
T: Error + ?Sized,
impl<T> Error for Arc<T, Global>where T: Error + ?Sized,
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting