#[non_exhaustive]pub enum RoleKind {
Stage,
Bridge,
Router,
Merge,
}Expand description
Role kind for thread init context.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Stage
A stage hot-loop thread.
Bridge
A bridge role thread.
Router
A router role thread.
Merge
A merge role thread.
Trait Implementations§
impl Copy for RoleKind
impl Eq for RoleKind
impl StructuralPartialEq for RoleKind
Auto Trait Implementations§
impl Freeze for RoleKind
impl RefUnwindSafe for RoleKind
impl Send for RoleKind
impl Sync for RoleKind
impl Unpin for RoleKind
impl UnwindSafe for RoleKind
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