Enum git2::TreeWalkResult
source · #[repr(i32)]pub enum TreeWalkResult {
Ok = 0,
Skip = 1,
Abort = -7,
}
Expand description
Possible return codes for tree walking callback functions.
Variants§
Ok = 0
Continue with the traversal as normal.
Skip = 1
Skip the current node (in pre-order mode).
Abort = -7
Completely stop the traversal.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TreeWalkResult
impl RefUnwindSafe for TreeWalkResult
impl Send for TreeWalkResult
impl Sync for TreeWalkResult
impl Unpin for TreeWalkResult
impl UnwindSafe for TreeWalkResult
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