pub struct VersionObservationSpec<'a> {
pub executable: &'a Path,
pub executable_bytes: u64,
pub version_arguments: &'a [OsString],
}Expand description
Caller-trusted installation whose version is to be observed, not pinned.
Admission executes these installed bytes. An observed version is provenance, not installation authenticity or an independently selected version authority.
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 VersionObservationSpec<'a>
impl<'a> RefUnwindSafe for VersionObservationSpec<'a>
impl<'a> Send for VersionObservationSpec<'a>
impl<'a> Sync for VersionObservationSpec<'a>
impl<'a> Unpin for VersionObservationSpec<'a>
impl<'a> UnsafeUnpin for VersionObservationSpec<'a>
impl<'a> UnwindSafe for VersionObservationSpec<'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