pub struct ResumeBootstrap { /* private fields */ }Expand description
A startup request whose handover has been checked before daemon startup.
Implementations§
Source§impl ResumeBootstrap
impl ResumeBootstrap
Sourcepub fn validate(
config: BootstrapConfig,
path: &Path,
key_fd: RawFd,
inherited: InheritedDescriptors,
) -> Result<Self, BootstrapError>
pub fn validate( config: BootstrapConfig, path: &Path, key_fd: RawFd, inherited: InheritedDescriptors, ) -> Result<Self, BootstrapError>
Validate the handover using only read-only boot configuration and the descriptor snapshot taken at process entry. A different running image is allowed to boot cold, but a malformed handover refuses startup.
pub async fn run(self) -> Result<(), BootstrapError>
Auto Trait Implementations§
impl !RefUnwindSafe for ResumeBootstrap
impl !UnwindSafe for ResumeBootstrap
impl Forget for ResumeBootstrap
impl Freeze for ResumeBootstrap
impl Move for ResumeBootstrap
impl Send for ResumeBootstrap
impl Sync for ResumeBootstrap
impl Unpin for ResumeBootstrap
impl UnsafeUnpin for ResumeBootstrap
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