Enum infinitree::tree::CommitFilter
source · pub enum CommitFilter {
All,
Single(CommitId),
UpTo(CommitId),
Range(CommitId, CommitId),
}
Expand description
Enum to navigate the versions that are available in an Infinitree
Variants§
All
On querying, all versions will be crawled. This is the default.
Single(CommitId)
Only a single generation will be looked at during querying.
UpTo(CommitId)
All generations up to and including the given one will be queried.
Range(CommitId, CommitId)
Only use generations between the two given versions. The first parameter must be earlier generation than the second.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CommitFilter
impl Send for CommitFilter
impl Sync for CommitFilter
impl Unpin for CommitFilter
impl UnwindSafe for CommitFilter
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