pub struct TransitionParticipant {
pub plugin: String,
pub expected_pre: Vec<DomainRecordVersionRef>,
pub expected_post: Vec<TransitionRecordVersion>,
}Expand description
One plugin whose writes a transition requires.
Fields§
§plugin: String§expected_pre: Vec<DomainRecordVersionRef>Exact current versions, including their establishing change, that the committed state read by phase 10 must hold when the transition settles.
expected_post: Vec<TransitionRecordVersion>Versions these records must hold as of phase 11: after the boundary’s same-boundary phase-10 writes commit and with its pending next-boundary phase-7 and phase-10 writes applied. Phase-12 and phase-13 writes of the same boundary may still change a record after this check.
Implementations§
Source§impl TransitionParticipant
impl TransitionParticipant
pub fn new(plugin: impl Into<String>) -> TransitionParticipant
Trait Implementations§
Source§impl Clone for TransitionParticipant
impl Clone for TransitionParticipant
Source§fn clone(&self) -> TransitionParticipant
fn clone(&self) -> TransitionParticipant
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 moreSource§impl Debug for TransitionParticipant
impl Debug for TransitionParticipant
Source§impl<'de> Deserialize<'de> for TransitionParticipant
impl<'de> Deserialize<'de> for TransitionParticipant
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TransitionParticipant, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TransitionParticipant, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TransitionParticipant
Source§impl PartialEq for TransitionParticipant
impl PartialEq for TransitionParticipant
Source§impl Serialize for TransitionParticipant
impl Serialize for TransitionParticipant
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TransitionParticipant
Auto Trait Implementations§
impl Freeze for TransitionParticipant
impl RefUnwindSafe for TransitionParticipant
impl Send for TransitionParticipant
impl Sync for TransitionParticipant
impl Unpin for TransitionParticipant
impl UnsafeUnpin for TransitionParticipant
impl UnwindSafe for TransitionParticipant
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