pub enum QueueTicket {
Unlimited,
Bounded(OwnedSemaphorePermit),
}Variants§
Unlimited
Bounded(OwnedSemaphorePermit)
Trait Implementations§
Source§impl Default for QueueTicket
impl Default for QueueTicket
Source§fn default() -> QueueTicket
fn default() -> QueueTicket
Returns the “default value” for a type. Read more
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