pub struct CheckpointFormat(/* private fields */);Expand description
A checkpoint’s on-disk format, e.g. firecracker/v1.
A driver refuses to restore a format it did not write
(crate::Error::ForeignCheckpoint); the name is how it tells.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for CheckpointFormat
impl AsRef<str> for CheckpointFormat
Source§impl Clone for CheckpointFormat
impl Clone for CheckpointFormat
Source§impl Debug for CheckpointFormat
impl Debug for CheckpointFormat
Source§impl<'de> Deserialize<'de> for CheckpointFormat
impl<'de> Deserialize<'de> for CheckpointFormat
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
Source§impl Display for CheckpointFormat
impl Display for CheckpointFormat
impl Eq for CheckpointFormat
Source§impl Hash for CheckpointFormat
impl Hash for CheckpointFormat
Source§impl PartialEq for CheckpointFormat
impl PartialEq for CheckpointFormat
Source§impl Serialize for CheckpointFormat
impl Serialize for CheckpointFormat
impl StructuralPartialEq for CheckpointFormat
Auto Trait Implementations§
impl Freeze for CheckpointFormat
impl RefUnwindSafe for CheckpointFormat
impl Send for CheckpointFormat
impl Sync for CheckpointFormat
impl Unpin for CheckpointFormat
impl UnsafeUnpin for CheckpointFormat
impl UnwindSafe for CheckpointFormat
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.