pub struct ToolSpec<'a> {
pub executable: &'a Path,
pub sha256: Sha256Digest,
pub executable_bytes: u64,
pub version_arguments: &'a [OsString],
pub version_identity: &'a str,
}Expand description
Exact executable and version authority selected by a consumer.
Fields§
§executable: &'a PathAbsolute path in a caller-controlled filesystem; no PATH search occurs.
sha256: Sha256DigestAdmitted SHA-256 of the executable bytes.
executable_bytes: u64Maximum executable bytes read during every verification.
version_arguments: &'a [OsString]Exact argument vector used to observe version identity.
version_identity: &'a strRequired UTF-8 stdout after Unicode whitespace is trimmed at both ends.
Auto Trait Implementations§
impl<'a> Freeze for ToolSpec<'a>
impl<'a> RefUnwindSafe for ToolSpec<'a>
impl<'a> Send for ToolSpec<'a>
impl<'a> Sync for ToolSpec<'a>
impl<'a> Unpin for ToolSpec<'a>
impl<'a> UnsafeUnpin for ToolSpec<'a>
impl<'a> UnwindSafe for ToolSpec<'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