pub enum SessionsOpenProgressStep {
LoadSession,
ValidateRepo,
CheckChanges,
CheckoutBranch,
CreateSession,
SaveSession,
Unknown,
}Expand description
Handoff step.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
LoadSession
Loading the source session’s events from the remote service.
ValidateRepo
Validating that the local repository matches the remote session’s repository.
CheckChanges
Checking the local working tree for uncommitted changes that would block the handoff.
CheckoutBranch
Checking out the branch associated with the remote session in the local working tree.
CreateSession
Creating the new local session and seeding it with the source session’s events.
SaveSession
Persisting the newly-created local session to disk.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for SessionsOpenProgressStep
impl Clone for SessionsOpenProgressStep
Source§fn clone(&self) -> SessionsOpenProgressStep
fn clone(&self) -> SessionsOpenProgressStep
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 SessionsOpenProgressStep
impl Debug for SessionsOpenProgressStep
Source§impl Default for SessionsOpenProgressStep
impl Default for SessionsOpenProgressStep
Source§fn default() -> SessionsOpenProgressStep
fn default() -> SessionsOpenProgressStep
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionsOpenProgressStep
impl<'de> Deserialize<'de> for SessionsOpenProgressStep
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 SessionsOpenProgressStep
Source§impl PartialEq for SessionsOpenProgressStep
impl PartialEq for SessionsOpenProgressStep
Source§fn eq(&self, other: &SessionsOpenProgressStep) -> bool
fn eq(&self, other: &SessionsOpenProgressStep) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionsOpenProgressStep
impl Serialize for SessionsOpenProgressStep
impl StructuralPartialEq for SessionsOpenProgressStep
Auto Trait Implementations§
impl Freeze for SessionsOpenProgressStep
impl RefUnwindSafe for SessionsOpenProgressStep
impl Send for SessionsOpenProgressStep
impl Sync for SessionsOpenProgressStep
impl Unpin for SessionsOpenProgressStep
impl UnsafeUnpin for SessionsOpenProgressStep
impl UnwindSafe for SessionsOpenProgressStep
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