pub struct LocalProgress { /* private fields */ }Expand description
Latest local execution outcomes for one project and language.
Implementations§
Source§impl LocalProgress
impl LocalProgress
Sourcepub fn record(&mut self, report: &ProgressReport)
pub fn record(&mut self, report: &ProgressReport)
Records only the parts that ran in this execution.
Sourcepub fn part_status(
&self,
year: usize,
day: usize,
part: u8,
) -> Option<PartStatus>
pub fn part_status( &self, year: usize, day: usize, part: u8, ) -> Option<PartStatus>
Returns the last recorded outcome for a part, if it has run.
Trait Implementations§
Source§impl Debug for LocalProgress
impl Debug for LocalProgress
Auto Trait Implementations§
impl Forget for LocalProgress
impl Freeze for LocalProgresswhere
*const LeafNode<(usize, usize, u8), PartStatus> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<((usize, usize, u8), PartStatus)>>: Freeze,
impl Move for LocalProgress
impl RefUnwindSafe for LocalProgress
impl Send for LocalProgresswhere
NodeRef<Owned, (usize, usize, u8), PartStatus, LeafOrInternal>: Send,
BoxRaw<((usize, usize, u8), PartStatus)>: Send,
impl Sync for LocalProgresswhere
NodeRef<Owned, (usize, usize, u8), PartStatus, LeafOrInternal>: Sync,
BoxRaw<((usize, usize, u8), PartStatus)>: Sync,
impl Unpin for LocalProgress
impl UnsafeUnpin for LocalProgresswhere
*const LeafNode<(usize, usize, u8), PartStatus> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<((usize, usize, u8), PartStatus)>>: UnsafeUnpin,
impl UnwindSafe for LocalProgress
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