Struct qutex::QrwRequest
source · pub struct QrwRequest { /* private fields */ }
Expand description
A request to lock the lock for either read or write access.
Implementations§
source§impl QrwRequest
impl QrwRequest
sourcepub fn new(tx: Sender<()>, kind: RequestKind) -> QrwRequest
pub fn new(tx: Sender<()>, kind: RequestKind) -> QrwRequest
Returns a new QrwRequest
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QrwRequest
impl !RefUnwindSafe for QrwRequest
impl Send for QrwRequest
impl Sync for QrwRequest
impl Unpin for QrwRequest
impl !UnwindSafe for QrwRequest
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