#[non_exhaustive]pub enum MemberState {
Possible,
Held,
Rejected,
Won,
}Expand description
Where one member stands in the arbitration.
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.
Possible
Still in the running.
Held
Deferring its own decision — see
hold_gesture. Released
automatically at profile.max_hold; the framework itself never holds.
Rejected
Out of the running, either by its own choice
(reject_gesture), by a
threshold it can no longer meet, or because a peer won.
Won
The winner.
Trait Implementations§
Source§impl Clone for MemberState
impl Clone for MemberState
impl Copy for MemberState
Source§impl Debug for MemberState
impl Debug for MemberState
impl Eq for MemberState
Source§impl PartialEq for MemberState
impl PartialEq for MemberState
impl StructuralPartialEq for MemberState
Auto Trait Implementations§
impl Freeze for MemberState
impl RefUnwindSafe for MemberState
impl Send for MemberState
impl Sync for MemberState
impl Unpin for MemberState
impl UnsafeUnpin for MemberState
impl UnwindSafe for MemberState
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