pub struct Run<'a> {
pub job: Job,
pub journal: Journal,
pub paths: Paths,
pub stop: &'a AtomicBool,
pub progress: Progress,
pub keep_free: u64,
}Fields§
§job: Job§journal: Journal§paths: Paths§stop: &'a AtomicBool§progress: Progress§keep_free: u64Free space the run must never eat into.
Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for Run<'a>
impl<'a> !RefUnwindSafe for Run<'a>
impl<'a> !Send for Run<'a>
impl<'a> !UnwindSafe for Run<'a>
impl<'a> Forget for Run<'a>
impl<'a> Move for Run<'a>
impl<'a> Sync for Run<'a>
impl<'a> Unpin for Run<'a>
impl<'a> UnsafeUnpin for Run<'a>where
*const ArcInner<Storage> is !null: UnsafeUnpin,
PhantomData<ArcInner<Storage>>: UnsafeUnpin,
&'static str: UnsafeUnpin,
*const dyn Format is !null: UnsafeUnpin,
PhantomData<dyn Format>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Unit>: UnsafeUnpin,
Align4<u32>: UnsafeUnpin,
PhantomData<Option<Punch>>: UnsafeUnpin,
*const StreamPoint is !null: UnsafeUnpin,
PhantomData<StreamPoint>: UnsafeUnpin,
*const CaseClashes is !null: UnsafeUnpin,
PhantomData<CaseClashes>: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
PhantomData<(u64, Unit)>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(PathBuf, u64)>: UnsafeUnpin,
PhantomData<Link>: UnsafeUnpin,
PhantomData<(u64, Vec<u8>)>: UnsafeUnpin,
&'a Atomic<bool>: UnsafeUnpin,
*const dyn Fn(u64) + Sync is !null: UnsafeUnpin,
PhantomData<dyn Fn(u64) + Sync>: UnsafeUnpin,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more