pub struct VerifiedPodmanInstallation { /* private fields */ }Expand description
Holds every verified file; fields cannot be supplied by a caller or disk record.
Implementations§
Source§impl VerifiedPodmanInstallation
impl VerifiedPodmanInstallation
pub fn load(host_path: &Path) -> Result<Self, &'static str>
pub fn revalidate(&self) -> Result<(), &'static str>
pub fn context(&self) -> Result<&ProtectedContext, &'static str>
pub fn identity(&self) -> Result<&SlotIdentity, &'static str>
Sourcepub fn executable_file(&self) -> Result<&File, &'static str>
pub fn executable_file(&self) -> Result<&File, &'static str>
Borrow for future held-FD execution; this does not spawn or prove entrypoint ABI.
pub fn capture_expected( &self, request: &CaptureRequest, ) -> Result<CaptureExpected, &'static str>
pub fn config_file(&self) -> Result<&File, &'static str>
pub fn match_record<'a>( &'a self, record: &'a PlanRecord, ) -> Result<RecordInstallationMatch<'a>, &'static str>
Auto Trait Implementations§
impl Freeze for VerifiedPodmanInstallation
impl RefUnwindSafe for VerifiedPodmanInstallation
impl Send for VerifiedPodmanInstallation
impl Sync for VerifiedPodmanInstallation
impl Unpin for VerifiedPodmanInstallation
impl UnsafeUnpin for VerifiedPodmanInstallation
impl UnwindSafe for VerifiedPodmanInstallation
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