pub struct CheckpointOptions {
pub ext_unix_sk: bool,
pub file_locks: bool,
pub image_path: PathBuf,
pub leave_running: bool,
pub shell_job: bool,
pub tcp_established: bool,
pub work_path: Option<PathBuf>,
pub manage_cgroups_mode: CgMode,
}Expand description
Checkpoint parameter structure
Fields§
§ext_unix_sk: bool§file_locks: bool§image_path: PathBuf§leave_running: bool§shell_job: bool§tcp_established: bool§work_path: Option<PathBuf>§manage_cgroups_mode: CgModeAuto Trait Implementations§
impl Freeze for CheckpointOptions
impl RefUnwindSafe for CheckpointOptions
impl Send for CheckpointOptions
impl Sync for CheckpointOptions
impl Unpin for CheckpointOptions
impl UnsafeUnpin for CheckpointOptions
impl UnwindSafe for CheckpointOptions
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more