pub struct Sweeper { /* private fields */ }Expand description
Sweep executor.
Implementations§
Source§impl Sweeper
impl Sweeper
Sourcepub fn new(config: SweepConfig) -> Self
pub fn new(config: SweepConfig) -> Self
Create a new sweeper.
Sourcepub fn run(&self) -> Result<SweepResult>
pub fn run(&self) -> Result<SweepResult>
Run the sweep.
Auto Trait Implementations§
impl Freeze for Sweeper
impl RefUnwindSafe for Sweeper
impl Send for Sweeper
impl Sync for Sweeper
impl Unpin for Sweeper
impl UnsafeUnpin for Sweeper
impl UnwindSafe for Sweeper
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