pub struct ResumePlan {
pub mode: ResumeMode,
pub backend: String,
pub session_name: String,
pub new_session_name: Option<String>,
pub snapshot_image: Option<String>,
pub command: String,
pub attempt: u64,
pub resource_limits: Vec<String>,
pub steps: Vec<ResumeStep>,
pub launch_options: Option<IsolationOptions>,
pub message: String,
}Expand description
How a stored execution will be resumed.
Fields§
§mode: ResumeMode§backend: String§session_name: String§new_session_name: Option<String>Set only when a snapshot-derived container replaces the original one.
snapshot_image: Option<String>§command: String§attempt: u64§resource_limits: Vec<String>Resource limits the new container is started with (snapshot resumes
only, issue #176): docker commit does not carry the HostConfig over.
steps: Vec<ResumeStep>§launch_options: Option<IsolationOptions>§message: StringTrait Implementations§
Source§impl Clone for ResumePlan
impl Clone for ResumePlan
Auto Trait Implementations§
impl Freeze for ResumePlan
impl RefUnwindSafe for ResumePlan
impl Send for ResumePlan
impl Sync for ResumePlan
impl Unpin for ResumePlan
impl UnsafeUnpin for ResumePlan
impl UnwindSafe for ResumePlan
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