pub struct UnpackOptions {
pub lock: LockMode,
pub max_image_bytes: Option<u64>,
pub limits: PackLimits,
}Fields§
§lock: LockMode§max_image_bytes: Option<u64>Refuses a pack holding an image file larger than this, after extraction but before anything in the target is replaced.
limits: PackLimitsTrait Implementations§
Source§impl Clone for UnpackOptions
impl Clone for UnpackOptions
Source§impl Debug for UnpackOptions
impl Debug for UnpackOptions
Auto Trait Implementations§
impl Freeze for UnpackOptions
impl RefUnwindSafe for UnpackOptions
impl Send for UnpackOptions
impl Sync for UnpackOptions
impl Unpin for UnpackOptions
impl UnsafeUnpin for UnpackOptions
impl UnwindSafe for UnpackOptions
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