pub enum FirecrackerNetworkOperation {
Add,
Check,
Delete,
}Expand description
An operation that can be made with a FirecrackerNetwork.
Variants§
Add
Add this network to the host.
Check
Check that this network already exists on the host.
Delete
Delete this network from the host.
Trait Implementations§
Source§impl Clone for FirecrackerNetworkOperation
impl Clone for FirecrackerNetworkOperation
Source§fn clone(&self) -> FirecrackerNetworkOperation
fn clone(&self) -> FirecrackerNetworkOperation
Returns a duplicate 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 Debug for FirecrackerNetworkOperation
impl Debug for FirecrackerNetworkOperation
Source§impl<'de> Deserialize<'de> for FirecrackerNetworkOperation
impl<'de> Deserialize<'de> for FirecrackerNetworkOperation
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 Hash for FirecrackerNetworkOperation
impl Hash for FirecrackerNetworkOperation
Source§impl Ord for FirecrackerNetworkOperation
impl Ord for FirecrackerNetworkOperation
Source§fn cmp(&self, other: &FirecrackerNetworkOperation) -> Ordering
fn cmp(&self, other: &FirecrackerNetworkOperation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for FirecrackerNetworkOperation
impl PartialOrd for FirecrackerNetworkOperation
impl Copy for FirecrackerNetworkOperation
impl Eq for FirecrackerNetworkOperation
impl StructuralPartialEq for FirecrackerNetworkOperation
Auto Trait Implementations§
impl Freeze for FirecrackerNetworkOperation
impl RefUnwindSafe for FirecrackerNetworkOperation
impl Send for FirecrackerNetworkOperation
impl Sync for FirecrackerNetworkOperation
impl Unpin for FirecrackerNetworkOperation
impl UnwindSafe for FirecrackerNetworkOperation
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