pub struct PermitInner { /* private fields */ }Expand description
Last-drop releaser for one acquired permit. Lives behind the permit
word’s Arc: when the final permit clone drops, this drops and hands
the permit back exactly once. No manual release exists, so worker
return (clean, error, panic, cooperative cancel) releases through
ordinary frame teardown with no DSL cleanup code.
Trait Implementations§
Source§impl Debug for PermitInner
impl Debug for PermitInner
Source§impl Drop for PermitInner
impl Drop for PermitInner
Auto Trait Implementations§
impl Freeze for PermitInner
impl RefUnwindSafe for PermitInner
impl Send for PermitInner
impl Sync for PermitInner
impl Unpin for PermitInner
impl UnsafeUnpin for PermitInner
impl UnwindSafe for PermitInner
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