pub struct StatusWrapper<'a> {
pub filepath: &'a Path,
pub status: Status,
}
Fields§
§filepath: &'a Path
§status: Status
Implementations§
Source§impl<'a> StatusWrapper<'a>
impl<'a> StatusWrapper<'a>
pub fn new(filepath: &'a Path) -> Self
pub fn read(&mut self) -> Result<(), Error>
pub fn write(&self) -> Result<(), Error>
pub fn published(&mut self, version: &str)
pub fn clear_missing_targets( &mut self, version: &str, target_strings: &[String], )
pub fn needs_compile(&self, build_name: &str, version: &str) -> bool
pub fn start(&mut self, build_name: &str, version: &str)
pub fn succeed(&mut self, build_name: &str, version: &str)
pub fn fail(&mut self, build_name: &str, version: &str)
pub fn reset_all(&mut self, version: &str)
pub fn all_clear(&self, version: &str) -> bool
pub fn publish(&mut self, version: &str)
pub fn is_published(&self, version: &str) -> bool
Auto Trait Implementations§
impl<'a> Freeze for StatusWrapper<'a>
impl<'a> RefUnwindSafe for StatusWrapper<'a>
impl<'a> Send for StatusWrapper<'a>
impl<'a> Sync for StatusWrapper<'a>
impl<'a> Unpin for StatusWrapper<'a>
impl<'a> UnwindSafe for StatusWrapper<'a>
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