pub struct SemaphoreGrant { /* private fields */ }Expand description
| RAII-style semaphore lock |
Implementations§
Trait Implementations§
Source§impl Clone for SemaphoreGrant
impl Clone for SemaphoreGrant
Source§fn clone(&self) -> SemaphoreGrant
fn clone(&self) -> SemaphoreGrant
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for SemaphoreGrant
impl Default for SemaphoreGrant
Source§impl Drop for SemaphoreGrant
impl Drop for SemaphoreGrant
Auto Trait Implementations§
impl Freeze for SemaphoreGrant
impl !RefUnwindSafe for SemaphoreGrant
impl Send for SemaphoreGrant
impl Sync for SemaphoreGrant
impl Unpin for SemaphoreGrant
impl !UnwindSafe for SemaphoreGrant
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