Enum git2::TreeWalkResult
source · [−]#[repr(i32)]
pub enum TreeWalkResult {
Ok,
Skip,
Abort,
}
Expand description
Possible return codes for tree walking callback functions.
Variants
Ok
Continue with the traversal as normal.
Skip
Skip the current node (in pre-order mode).
Abort
Completely stop the traversal.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TreeWalkResult
impl Send for TreeWalkResult
impl Sync for TreeWalkResult
impl Unpin for TreeWalkResult
impl UnwindSafe for TreeWalkResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more