pub enum ResidentHandleKind {
LiveWorkspace,
ImmutableRevision,
DirtySnapshot,
ManagedWorktree,
}Expand description
Kind of resident revision handle.
Variants§
LiveWorkspace
Existing live workspace handle.
ImmutableRevision
Immutable Git tree/commit/ref graph.
DirtySnapshot
Exact-byte dirty snapshot graph.
ManagedWorktree
Explicit managed or operator worktree graph.
Trait Implementations§
Source§impl Clone for ResidentHandleKind
impl Clone for ResidentHandleKind
Source§fn clone(&self) -> ResidentHandleKind
fn clone(&self) -> ResidentHandleKind
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 moreimpl Copy for ResidentHandleKind
Source§impl Debug for ResidentHandleKind
impl Debug for ResidentHandleKind
Source§impl<'de> Deserialize<'de> for ResidentHandleKind
impl<'de> Deserialize<'de> for ResidentHandleKind
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 ResidentHandleKind
Source§impl PartialEq for ResidentHandleKind
impl PartialEq for ResidentHandleKind
Source§fn eq(&self, other: &ResidentHandleKind) -> bool
fn eq(&self, other: &ResidentHandleKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ResidentHandleKind
impl Serialize for ResidentHandleKind
impl StructuralPartialEq for ResidentHandleKind
Auto Trait Implementations§
impl Freeze for ResidentHandleKind
impl RefUnwindSafe for ResidentHandleKind
impl Send for ResidentHandleKind
impl Sync for ResidentHandleKind
impl Unpin for ResidentHandleKind
impl UnsafeUnpin for ResidentHandleKind
impl UnwindSafe for ResidentHandleKind
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