Type Alias async_fd_lock::LockReadResult
source · pub type LockReadResult<T> = Result<RwLockReadGuard<T>, (T, Error)>;
Aliased Type§
enum LockReadResult<T> {
Ok(RwLockReadGuard<T>),
Err((T, Error)),
}
Variants§
Ok(RwLockReadGuard<T>)
Contains the success value
Err((T, Error))
Contains the error value