pub enum OutputState {
Exists,
Absent,
FileContent(ContentId),
}Expand description
Expected state of one declared output path after execution.
Variants§
Exists
The path must exist, regardless of content.
Absent
The path must be absent.
FileContent(ContentId)
The file’s Datum::Bytes semantic identity must equal this value.
Trait Implementations§
Source§impl Clone for OutputState
impl Clone for OutputState
Source§fn clone(&self) -> OutputState
fn clone(&self) -> OutputState
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 moreSource§impl Debug for OutputState
impl Debug for OutputState
impl Eq for OutputState
Source§impl PartialEq for OutputState
impl PartialEq for OutputState
impl StructuralPartialEq for OutputState
Auto Trait Implementations§
impl Freeze for OutputState
impl RefUnwindSafe for OutputState
impl Send for OutputState
impl Sync for OutputState
impl Unpin for OutputState
impl UnsafeUnpin for OutputState
impl UnwindSafe for OutputState
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