pub struct VersionSpec<'a> {
pub executable: &'a Path,
pub executable_bytes: u64,
pub version_arguments: &'a [OsString],
}Expand description
Executable and version-probe configuration selected by a consumer.
Verifying operations require a separate exact version authority. Pinned admission additionally requires a trusted digest. Observation executes a caller-trusted installation without an independently selected version. Consumers own installation provenance; a version does not authenticate bytes.
Fields§
§executable: &'a PathAbsolute path in a caller-controlled filesystem; no PATH search occurs.
executable_bytes: u64Maximum executable bytes read during admission and every later run.
version_arguments: &'a [OsString]Exact argument vector used once to observe version identity.
Auto Trait Implementations§
impl<'a> Freeze for VersionSpec<'a>
impl<'a> RefUnwindSafe for VersionSpec<'a>
impl<'a> Send for VersionSpec<'a>
impl<'a> Sync for VersionSpec<'a>
impl<'a> Unpin for VersionSpec<'a>
impl<'a> UnsafeUnpin for VersionSpec<'a>
impl<'a> UnwindSafe for VersionSpec<'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