pub struct InstallPackOptions {
pub stem: Option<String>,
pub hash_algo: HashAlgo,
}Expand description
Options controlling install_pack_stream.
Fields§
§stem: Option<String>When set, use this stem for pack/<stem>.pack instead of deriving one from the pack checksum.
hash_algo: HashAlgoHash width for this repository (20 for SHA-1, 32 for SHA-256).
Trait Implementations§
Source§impl Clone for InstallPackOptions
impl Clone for InstallPackOptions
Source§impl Debug for InstallPackOptions
impl Debug for InstallPackOptions
Auto Trait Implementations§
impl Freeze for InstallPackOptions
impl RefUnwindSafe for InstallPackOptions
impl Send for InstallPackOptions
impl Sync for InstallPackOptions
impl Unpin for InstallPackOptions
impl UnsafeUnpin for InstallPackOptions
impl UnwindSafe for InstallPackOptions
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