Type Alias jormungandr::network::GlobalStateR
source · pub type GlobalStateR = Arc<GlobalState>;
Aliased Type§
struct GlobalStateR {
ptr: NonNull<ArcInner<GlobalState>>,
phantom: PhantomData<ArcInner<GlobalState>>,
alloc: Global,
}
Fields§
§ptr: NonNull<ArcInner<GlobalState>>
§phantom: PhantomData<ArcInner<GlobalState>>
§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