pub struct SuccessorGate {
pub barrier_active: bool,
pub stop_requested: bool,
pub current_state_visit: Option<u64>,
pub admitted_attempts: Vec<String>,
}Expand description
The durable facts fencing one successor release.
Fields§
§barrier_active: bool§stop_requested: bool§current_state_visit: Option<u64>The current visit of the state the effect settled in.
admitted_attempts: Vec<String>Attempt identities admitted to release successors.
Implementations§
Source§impl SuccessorGate
impl SuccessorGate
Sourcepub fn release(
&self,
lease: &ClaimLease,
edges: &[SuccessorEdge],
from_state_id: &str,
from_state_visit: u64,
) -> SuccessorAdmission
pub fn release( &self, lease: &ClaimLease, edges: &[SuccessorEdge], from_state_id: &str, from_state_visit: u64, ) -> SuccessorAdmission
Release the successors of one settled effect.
An exhausted set of edges admits nothing rather than reporting a refusal, because a terminal effect legitimately has no successor.
Trait Implementations§
Source§impl Clone for SuccessorGate
impl Clone for SuccessorGate
Source§fn clone(&self) -> SuccessorGate
fn clone(&self) -> SuccessorGate
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 SuccessorGate
impl Debug for SuccessorGate
Source§impl Default for SuccessorGate
impl Default for SuccessorGate
Source§fn default() -> SuccessorGate
fn default() -> SuccessorGate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SuccessorGate
impl<'de> Deserialize<'de> for SuccessorGate
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SuccessorGate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SuccessorGate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SuccessorGate
Source§impl PartialEq for SuccessorGate
impl PartialEq for SuccessorGate
Source§impl Serialize for SuccessorGate
impl Serialize for SuccessorGate
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 SuccessorGate
Auto Trait Implementations§
impl Forget for SuccessorGate
impl Freeze for SuccessorGate
impl Move for SuccessorGate
impl RefUnwindSafe for SuccessorGate
impl Send for SuccessorGate
impl Sync for SuccessorGate
impl Unpin for SuccessorGate
impl UnsafeUnpin for SuccessorGate
impl UnwindSafe for SuccessorGate
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.