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§

§1.0.0

Ok(RwLockReadGuard<T>)

Contains the success value

§1.0.0

Err((T, Error))

Contains the error value