Enum gix_worktree_stream::entry::Source
source · pub enum Source {
Null,
Path(PathBuf),
Memory(Vec<u8>),
}
Expand description
The source of an additional entry
Variants§
Null
There is no content, typically the case with directories which are always considered empty.
Path(PathBuf)
Read from the file at the given path.
Memory(Vec<u8>)
Read from memory.
Auto Trait Implementations§
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
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