Struct tokio::sync::OwnedSemaphorePermit
source · [−]pub struct OwnedSemaphorePermit { /* private fields */ }
Expand description
An owned permit from the semaphore.
This type is created by the acquire_owned
method.
Implementations
Trait Implementations
sourceimpl Debug for OwnedSemaphorePermit
impl Debug for OwnedSemaphorePermit
Auto Trait Implementations
impl !RefUnwindSafe for OwnedSemaphorePermit
impl Send for OwnedSemaphorePermit
impl Sync for OwnedSemaphorePermit
impl Unpin for OwnedSemaphorePermit
impl !UnwindSafe for OwnedSemaphorePermit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more