pub struct ChoiceTransparencyWarning {
pub alternatives: BTreeSet<String>,
pub chooser: String,
}Expand description
Advisory warning: the alternatives of a choice point share no common
recipient role other than the chooser, so no single honest endpoint is
guaranteed to witness a choice equivocation locally — detection relies
on proof gossip. A warning, never an crate::role::R6Violation.
Fields§
§alternatives: BTreeSet<String>The choice point’s alternatives.
chooser: StringThe chooser role (the alternatives’ common sender).
Trait Implementations§
Source§impl Clone for ChoiceTransparencyWarning
impl Clone for ChoiceTransparencyWarning
Source§impl Debug for ChoiceTransparencyWarning
impl Debug for ChoiceTransparencyWarning
Source§impl Display for ChoiceTransparencyWarning
impl Display for ChoiceTransparencyWarning
impl Eq for ChoiceTransparencyWarning
impl StructuralPartialEq for ChoiceTransparencyWarning
Auto Trait Implementations§
impl Forget for ChoiceTransparencyWarning
impl Freeze for ChoiceTransparencyWarningwhere
*const LeafNode<String, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, SetValZST)>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
impl Move for ChoiceTransparencyWarning
impl RefUnwindSafe for ChoiceTransparencyWarning
impl Send for ChoiceTransparencyWarning
impl Sync for ChoiceTransparencyWarning
impl Unpin for ChoiceTransparencyWarning
impl UnsafeUnpin for ChoiceTransparencyWarningwhere
*const LeafNode<String, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, SetValZST)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for ChoiceTransparencyWarning
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