pub struct InputEvidenceSpec { /* private fields */ }Expand description
Caller-selected filesystem roots, exclusions and opaque non-file identity.
Paths must be absolute. No source, output or tool policy is selected implicitly. Excluded entry names apply to children, not to explicitly declared roots.
Implementations§
Source§impl InputEvidenceSpec
impl InputEvidenceSpec
Sourcepub fn new(identity: impl Into<Vec<u8>>) -> Self
pub fn new(identity: impl Into<Vec<u8>>) -> Self
Start an empty recipe with caller-derived environment/tool/profile identity.
Sourcepub fn with_input(self, path: impl Into<PathBuf>) -> Self
pub fn with_input(self, path: impl Into<PathBuf>) -> Self
Declare a file, recursive directory, or not-yet-existing input.
Sourcepub fn with_excluded_root(self, path: impl Into<PathBuf>) -> Self
pub fn with_excluded_root(self, path: impl Into<PathBuf>) -> Self
Exclude one caller-owned generated/output tree.
Sourcepub fn with_excluded_entry_name(self, name: impl Into<OsString>) -> Self
pub fn with_excluded_entry_name(self, name: impl Into<OsString>) -> Self
Skip this exact child name at every directory level.
Trait Implementations§
Source§impl Clone for InputEvidenceSpec
impl Clone for InputEvidenceSpec
Source§impl Debug for InputEvidenceSpec
impl Debug for InputEvidenceSpec
impl Eq for InputEvidenceSpec
Source§impl PartialEq for InputEvidenceSpec
impl PartialEq for InputEvidenceSpec
impl StructuralPartialEq for InputEvidenceSpec
Auto Trait Implementations§
impl Freeze for InputEvidenceSpec
impl RefUnwindSafe for InputEvidenceSpec
impl Send for InputEvidenceSpec
impl Sync for InputEvidenceSpec
impl Unpin for InputEvidenceSpec
impl UnsafeUnpin for InputEvidenceSpec
impl UnwindSafe for InputEvidenceSpec
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