pub enum QueueTicket {
Unlimited,
Bounded(OwnedSemaphorePermit),
}Variants§
Unlimited
Bounded(OwnedSemaphorePermit)
Auto Trait Implementations§
impl Freeze for QueueTicket
impl RefUnwindSafe for QueueTicket
impl Send for QueueTicket
impl Sync for QueueTicket
impl Unpin for QueueTicket
impl UnsafeUnpin for QueueTicket
impl UnwindSafe for QueueTicket
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