pub enum Topic<T> {
Any,
OneOf(Vec<T>),
This(T),
}
Expand description
Acceptable topic possibilities.
Variants§
Implementations§
Trait Implementations§
impl<T: Eq> Eq for Topic<T>
impl<T> StructuralPartialEq for Topic<T>
Auto Trait Implementations§
impl<T> Freeze for Topic<T>where
T: Freeze,
impl<T> RefUnwindSafe for Topic<T>where
T: RefUnwindSafe,
impl<T> Send for Topic<T>where
T: Send,
impl<T> Sync for Topic<T>where
T: Sync,
impl<T> Unpin for Topic<T>where
T: Unpin,
impl<T> UnwindSafe for Topic<T>where
T: 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