pub enum LineSearchStep {
CompareThroughLine {
line: u64,
},
DifferenceAtLine {
line: u64,
},
}Expand description
A prefix comparison requested by LineSearch, or its completed result.
Variants§
CompareThroughLine
Compare file prefixes through this line, including its LF if present.
Use crate::fingerprint_through_line on each copy. A request beyond
the local EOF hashes the whole local file.
DifferenceAtLine
The first differing line; it may be beyond the local EOF.
Trait Implementations§
Source§impl Clone for LineSearchStep
impl Clone for LineSearchStep
impl Copy for LineSearchStep
Source§impl Debug for LineSearchStep
impl Debug for LineSearchStep
impl Eq for LineSearchStep
Source§impl PartialEq for LineSearchStep
impl PartialEq for LineSearchStep
impl StructuralPartialEq for LineSearchStep
Auto Trait Implementations§
impl Freeze for LineSearchStep
impl RefUnwindSafe for LineSearchStep
impl Send for LineSearchStep
impl Sync for LineSearchStep
impl Unpin for LineSearchStep
impl UnsafeUnpin for LineSearchStep
impl UnwindSafe for LineSearchStep
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