Skip to main content

Module utils

Module utils 

Source
Expand description

Utilities for rasi asynchronous programming.

Modules§

maker
AsyncLockable type maker
spin_simple
Pure userspace spin locker implementation.

Structs§

MapDeref
The type map Deref target to another type.
ReadBuf
A wrapper around a byte buffer that is incrementally filled and initialized.
SpinMutexsync_parking_lot
A spin style mutex implementation without handle thread-specific data.
SpinMutexGuardsync_parking_lot
RAII type that handle scope lock semantics

Traits§

AsyncGuardMut
Trait for guard of AsyncLockable
AsyncLockable
A futures-aware lockable mutex object should implement this trait.
AsyncLockableMediator
Event manager for AsyncLockable listeners.
DerefExt
This trait extend Deref to add function deref_map
Lockable
Any mutex object should implement this trait
LockableNew

Type Aliases§

AsyncSpinMutexsync_parking_lot
Futures-aware SpinMutex type