pub struct ContainerCheckpointOptsBuilder { /* private fields */ }
Expand description
A builder struct for ContainerCheckpointOpts.
Implementations§
Source§impl ContainerCheckpointOptsBuilder
impl ContainerCheckpointOptsBuilder
Sourcepub fn build(self) -> ContainerCheckpointOpts
pub fn build(self) -> ContainerCheckpointOpts
Finish building ContainerCheckpointOpts.
Source§impl ContainerCheckpointOptsBuilder
impl ContainerCheckpointOptsBuilder
Sourcepub fn ignore_root_fs(self, ignore_root_fs: bool) -> Self
pub fn ignore_root_fs(self, ignore_root_fs: bool) -> Self
Do not include root file-system changes when exporting
Sourcepub fn leave_running(self, leave_running: bool) -> Self
pub fn leave_running(self, leave_running: bool) -> Self
Leave the container running after writing checkpoint to disk
Sourcepub fn print_stats(self, print_stats: bool) -> Self
pub fn print_stats(self, print_stats: bool) -> Self
Add checkpoint statistics to the returned CheckpointReport
Sourcepub fn tcp_established(self, tcp_established: bool) -> Self
pub fn tcp_established(self, tcp_established: bool) -> Self
Checkpoint a container with established TCP connections
Trait Implementations§
Source§impl Clone for ContainerCheckpointOptsBuilder
impl Clone for ContainerCheckpointOptsBuilder
Source§fn clone(&self) -> ContainerCheckpointOptsBuilder
fn clone(&self) -> ContainerCheckpointOptsBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for ContainerCheckpointOptsBuilder
impl Default for ContainerCheckpointOptsBuilder
Source§fn default() -> ContainerCheckpointOptsBuilder
fn default() -> ContainerCheckpointOptsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContainerCheckpointOptsBuilder
impl RefUnwindSafe for ContainerCheckpointOptsBuilder
impl Send for ContainerCheckpointOptsBuilder
impl Sync for ContainerCheckpointOptsBuilder
impl Unpin for ContainerCheckpointOptsBuilder
impl UnwindSafe for ContainerCheckpointOptsBuilder
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