pub enum WorkerRole {
Stage,
PanelReviewer,
}Expand description
Which worker is reading the brief.
The distinction is not the stage’s — a panel’s seats and the action they
judge run against the same stage, so Check alone cannot separate them.
It comes from the credential the caller presented, which is the only thing
that knows whether it was minted for the stage or for a seat on its panel.
Variants§
Stage
The stage’s own worker: the process the stage’s action runs.
PanelReviewer
One seat on a panel judging the stage. It reads and reports; the work under review is not its to change.
Trait Implementations§
Source§impl Clone for WorkerRole
impl Clone for WorkerRole
Source§fn clone(&self) -> WorkerRole
fn clone(&self) -> WorkerRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WorkerRole
Source§impl Debug for WorkerRole
impl Debug for WorkerRole
impl Eq for WorkerRole
Source§impl PartialEq for WorkerRole
impl PartialEq for WorkerRole
impl StructuralPartialEq for WorkerRole
Auto Trait Implementations§
impl Freeze for WorkerRole
impl RefUnwindSafe for WorkerRole
impl Send for WorkerRole
impl Sync for WorkerRole
impl Unpin for WorkerRole
impl UnsafeUnpin for WorkerRole
impl UnwindSafe for WorkerRole
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.