pub enum RefValue {
Deletion,
Val1(ObjectId),
Val2(ObjectId, ObjectId),
Symref(String),
}Expand description
A single reference record as stored in a reftable.
Variants§
Deletion
Deletion tombstone (value_type 0x0).
Val1(ObjectId)
A direct ref pointing to one OID (value_type 0x1).
Val2(ObjectId, ObjectId)
An annotated tag: value + peeled target (value_type 0x2).
Symref(String)
A symbolic reference (value_type 0x3).
Trait Implementations§
impl Eq for RefValue
impl StructuralPartialEq for RefValue
Auto Trait Implementations§
impl Freeze for RefValue
impl RefUnwindSafe for RefValue
impl Send for RefValue
impl Sync for RefValue
impl Unpin for RefValue
impl UnsafeUnpin for RefValue
impl UnwindSafe for RefValue
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