pub struct SweepOptions {
pub mode: SweepMode,
pub rewrite_partial_packs: bool,
}Expand description
Options for sweep.
Fields§
§mode: SweepModeWhat to do with garbage. Default: SweepMode::DryRun.
rewrite_partial_packs: boolRewrite partial packs to drop their garbage (see the
module docs). When false, garbage inside
otherwise-live packs is left in place. Default: true.
Trait Implementations§
Source§impl Clone for SweepOptions
impl Clone for SweepOptions
Source§fn clone(&self) -> SweepOptions
fn clone(&self) -> SweepOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SweepOptions
Source§impl Debug for SweepOptions
impl Debug for SweepOptions
Auto Trait Implementations§
impl Freeze for SweepOptions
impl RefUnwindSafe for SweepOptions
impl Send for SweepOptions
impl Sync for SweepOptions
impl Unpin for SweepOptions
impl UnsafeUnpin for SweepOptions
impl UnwindSafe for SweepOptions
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