pub enum SourceByteMode {
RawGitObjects,
CheckoutBytes,
DirtySnapshot,
}Expand description
Source bytes used while constructing a revision graph.
Variants§
RawGitObjects
Bytes are read directly from Git tree/blob objects.
CheckoutBytes
Bytes are read from a checkout and are keyed by checkout filters.
DirtySnapshot
Bytes are captured from the dirty live workspace.
Trait Implementations§
Source§impl Clone for SourceByteMode
impl Clone for SourceByteMode
Source§fn clone(&self) -> SourceByteMode
fn clone(&self) -> SourceByteMode
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 SourceByteMode
Source§impl Debug for SourceByteMode
impl Debug for SourceByteMode
Source§impl<'de> Deserialize<'de> for SourceByteMode
impl<'de> Deserialize<'de> for SourceByteMode
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 SourceByteMode
Source§impl PartialEq for SourceByteMode
impl PartialEq for SourceByteMode
Source§fn eq(&self, other: &SourceByteMode) -> bool
fn eq(&self, other: &SourceByteMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SourceByteMode
impl Serialize for SourceByteMode
impl StructuralPartialEq for SourceByteMode
Auto Trait Implementations§
impl Freeze for SourceByteMode
impl RefUnwindSafe for SourceByteMode
impl Send for SourceByteMode
impl Sync for SourceByteMode
impl Unpin for SourceByteMode
impl UnsafeUnpin for SourceByteMode
impl UnwindSafe for SourceByteMode
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