pub enum RefClass {
Local,
Shared,
}Expand description
Whether a ref class reconciles within this checkout’s op_scope (local) or
globally across all lanes (shared) — heddle#330 §2.2 r10.
Variants§
Local
HEAD + undo-recovery: live beside the per-worktree HEAD pointer, so a
read folds only this worktree’s lane (never lifting a sibling’s HEAD).
thread, marker, remote-thread: one shared file per ref, so a read folds the full committed tail across all lanes (never missing a co-tenant’s committed-but-unpublished write).
Trait Implementations§
impl Copy for RefClass
impl Eq for RefClass
impl StructuralPartialEq for RefClass
Auto Trait Implementations§
impl Freeze for RefClass
impl RefUnwindSafe for RefClass
impl Send for RefClass
impl Sync for RefClass
impl Unpin for RefClass
impl UnsafeUnpin for RefClass
impl UnwindSafe for RefClass
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