pub enum ConsumerState<K: Key, M> {
Free(Consumer<K, M>),
Taken,
}
Variants§
Auto Trait Implementations§
impl<K, M> RefUnwindSafe for ConsumerState<K, M>where K: RefUnwindSafe,
impl<K, M> Send for ConsumerState<K, M>where K: Send, M: Send,
impl<K, M> Sync for ConsumerState<K, M>where K: Send + Sync, M: Send,
impl<K, M> Unpin for ConsumerState<K, M>where K: Unpin,
impl<K, M> UnwindSafe for ConsumerState<K, M>where K: UnwindSafe,
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