pub enum EntanglementType {
Sync,
Sequence {
gap_secs: i64,
},
Mirror,
Inverse,
FailurePropagation,
}Expand description
How two entities are temporally entangled.
Variants§
Sync
Move together — if one shifts, the other shifts identically.
Sequence
Must happen in sequence with a fixed gap.
Mirror
Mirror — if one moves forward, the other moves backward.
Inverse
Inverse — if one succeeds, the other fails.
FailurePropagation
If one fails, the failure propagates.
Trait Implementations§
Source§impl Clone for EntanglementType
impl Clone for EntanglementType
Source§fn clone(&self) -> EntanglementType
fn clone(&self) -> EntanglementType
Returns a duplicate of the value. Read more
1.0.0 · 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 EntanglementType
impl Debug for EntanglementType
Source§impl<'de> Deserialize<'de> for EntanglementType
impl<'de> Deserialize<'de> for EntanglementType
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
Source§impl PartialEq for EntanglementType
impl PartialEq for EntanglementType
Source§impl Serialize for EntanglementType
impl Serialize for EntanglementType
impl StructuralPartialEq for EntanglementType
Auto Trait Implementations§
impl Freeze for EntanglementType
impl RefUnwindSafe for EntanglementType
impl Send for EntanglementType
impl Sync for EntanglementType
impl Unpin for EntanglementType
impl UnsafeUnpin for EntanglementType
impl UnwindSafe for EntanglementType
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