pub enum ScopeTransitionInstruction {
Continue,
ExpandWithBootstrap {
transition_id: ScopeTransitionId,
boundary: ScopeCursor,
},
ContractWithRemovals {
transition_id: ScopeTransitionId,
boundary: ScopeCursor,
removals: Vec<ScopeRemoval>,
},
FullResync,
Revoke,
Suspend,
}Expand description
Versioned server instruction. Legacy peers safely map non-continue instructions to full resync.
Variants§
Trait Implementations§
Source§impl Clone for ScopeTransitionInstruction
impl Clone for ScopeTransitionInstruction
Source§fn clone(&self) -> ScopeTransitionInstruction
fn clone(&self) -> ScopeTransitionInstruction
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 ScopeTransitionInstruction
impl Debug for ScopeTransitionInstruction
Source§impl<'de> Deserialize<'de> for ScopeTransitionInstruction
impl<'de> Deserialize<'de> for ScopeTransitionInstruction
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 ScopeTransitionInstruction
impl StructuralPartialEq for ScopeTransitionInstruction
Auto Trait Implementations§
impl Freeze for ScopeTransitionInstruction
impl RefUnwindSafe for ScopeTransitionInstruction
impl Send for ScopeTransitionInstruction
impl Sync for ScopeTransitionInstruction
impl Unpin for ScopeTransitionInstruction
impl UnsafeUnpin for ScopeTransitionInstruction
impl UnwindSafe for ScopeTransitionInstruction
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