type GlobalGuard = SpinLockGuard<'static, Option<BuddyAllocator>>;Aliased Type§
struct GlobalGuard {
lock: &'static SpinLock<Option<BuddyAllocator>>,
state: ManuallyDrop<GuardianState<IrqDisabledToken>>,
}Fields§
§lock: &'static SpinLock<Option<BuddyAllocator>>§state: ManuallyDrop<GuardianState<IrqDisabledToken>>Wrapped in ManuallyDrop so that Drop::drop can move it into
G::exit() without triggering a compiler-generated second drop of
the field.