Enum gitoxide_core::pack::index::PathOrRead
source · pub enum PathOrRead {
Path(PathBuf),
Read(Box<dyn Read + Send + 'static>),
}
Variants§
Auto Trait Implementations§
impl !RefUnwindSafe for PathOrRead
impl Send for PathOrRead
impl !Sync for PathOrRead
impl Unpin for PathOrRead
impl !UnwindSafe for PathOrRead
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