pub struct Checkpoint {
pub name: String,
pub policy: Policy,
pub process_state: ProcessState,
pub fd_table: Vec<FdInfo>,
pub cow_snapshot: Option<PathBuf>,
pub app_state: Option<Vec<u8>>,
}Expand description
A frozen snapshot of sandbox state.
Fields§
§name: String§policy: Policy§process_state: ProcessState§fd_table: Vec<FdInfo>§cow_snapshot: Option<PathBuf>§app_state: Option<Vec<u8>>Implementations§
Source§impl Checkpoint
impl Checkpoint
Trait Implementations§
Source§impl Debug for Checkpoint
impl Debug for Checkpoint
Source§impl<'de> Deserialize<'de> for Checkpoint
impl<'de> Deserialize<'de> for Checkpoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Checkpoint
impl !RefUnwindSafe for Checkpoint
impl Send for Checkpoint
impl Sync for Checkpoint
impl Unpin for Checkpoint
impl UnsafeUnpin for Checkpoint
impl !UnwindSafe for Checkpoint
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