pub enum ParticipantMaterialization {
Bound {
specialty: Specialty,
},
Unavailable {
reason: UnavailabilityReason,
},
}Expand description
What a run found when it went looking for somebody to play one logical participant.
Unavailable is a first-class answer. A run that could not find a
participant says so and skips the ceremonies that needed it; it
never stands in for the missing party, because a design proved by
a stand-in has been proved about nothing.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ParticipantMaterialization
impl Clone for ParticipantMaterialization
Source§impl Debug for ParticipantMaterialization
impl Debug for ParticipantMaterialization
Source§impl<'de> Deserialize<'de> for ParticipantMaterialization
impl<'de> Deserialize<'de> for ParticipantMaterialization
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ParticipantMaterialization
Source§impl Hash for ParticipantMaterialization
impl Hash for ParticipantMaterialization
Source§impl Ord for ParticipantMaterialization
impl Ord for ParticipantMaterialization
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ParticipantMaterialization
impl PartialOrd for ParticipantMaterialization
impl StructuralPartialEq for ParticipantMaterialization
Auto Trait Implementations§
impl Freeze for ParticipantMaterialization
impl RefUnwindSafe for ParticipantMaterialization
impl Send for ParticipantMaterialization
impl Sync for ParticipantMaterialization
impl Unpin for ParticipantMaterialization
impl UnsafeUnpin for ParticipantMaterialization
impl UnwindSafe for ParticipantMaterialization
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