pub enum FollowPathResult {
Found {
oid: ObjectId,
mode: u32,
},
OutOfRepo {
path: Vec<u8>,
},
}Expand description
Result of resolving tree_oid:path with symlink following.
Variants§
Found
Found object inside the repository.
OutOfRepo
Symlink target is absolute (/); caller prints symlink <len> <target>.
Trait Implementations§
Source§impl Clone for FollowPathResult
impl Clone for FollowPathResult
Source§fn clone(&self) -> FollowPathResult
fn clone(&self) -> FollowPathResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FollowPathResult
impl RefUnwindSafe for FollowPathResult
impl Send for FollowPathResult
impl Sync for FollowPathResult
impl Unpin for FollowPathResult
impl UnsafeUnpin for FollowPathResult
impl UnwindSafe for FollowPathResult
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