Skip to main content

SpinRwLockWriteGuard

Type Alias SpinRwLockWriteGuard 

Source
pub type SpinRwLockWriteGuard<'a, T> = BaseSpinRwLockWriteGuard<'a, PreemptState, T>;
Expand description

A write guard returned by SpinRwLock::write.

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

Aliased Type§

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