Type Alias async_fd_lock::LockWriteResult

source ·
pub type LockWriteResult<T> = Result<RwLockWriteGuard<T>, (T, Error)>;

Aliased Type§

enum LockWriteResult<T> {
    Ok(RwLockWriteGuard<T>),
    Err((T, Error)),
}

Variants§

§1.0.0

Ok(RwLockWriteGuard<T>)

Contains the success value

§1.0.0

Err((T, Error))

Contains the error value