pub enum FileMode {
Blob,
Executable,
Tree,
Commit,
}Expand description
The file mode for a pinned tree entry.
Variants§
Blob
Regular file (0o100644).
Executable
Executable file (0o100755).
Tree
Subtree (0o040000).
Commit
Gitlink / submodule commit (0o160000).
Trait Implementations§
impl Copy for FileMode
impl Eq for FileMode
impl StructuralPartialEq for FileMode
Auto Trait Implementations§
impl Freeze for FileMode
impl RefUnwindSafe for FileMode
impl Send for FileMode
impl Sync for FileMode
impl Unpin for FileMode
impl UnsafeUnpin for FileMode
impl UnwindSafe for FileMode
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