#[repr(u32)]pub enum AVLockOp {
AV_LOCK_CREATE = 0,
AV_LOCK_OBTAIN = 1,
AV_LOCK_RELEASE = 2,
AV_LOCK_DESTROY = 3,
}
Expand description
Lock operation used by lockmgr
@deprecated Deprecated together with av_lockmgr_register().
Variants§
AV_LOCK_CREATE = 0
< Create a mutex
AV_LOCK_OBTAIN = 1
< Lock the mutex
AV_LOCK_RELEASE = 2
< Unlock the mutex
AV_LOCK_DESTROY = 3
< Free mutex resources
Trait Implementations§
impl Copy for AVLockOp
impl Eq for AVLockOp
impl StructuralPartialEq for AVLockOp
Auto Trait Implementations§
impl Freeze for AVLockOp
impl RefUnwindSafe for AVLockOp
impl Send for AVLockOp
impl Sync for AVLockOp
impl Unpin for AVLockOp
impl UnwindSafe for AVLockOp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more