Skip to main content

SpinRwLockReadGuard

Type Alias SpinRwLockReadGuard 

Source
pub type SpinRwLockReadGuard<'a, T> = BaseSpinRwLockReadGuard<'a, PreemptState, T>;
Expand description

A read guard returned by SpinRwLock::read.

fn require_send<T: Send>() {}
require_send::<ax_task::sync::SpinRwLockReadGuard<'static, ()>>();

Aliased Type§

pub struct SpinRwLockReadGuard<'a, T> { /* private fields */ }