pub enum BlockExportType {
nbd,
vhost_user_blk,
fuse,
vduse_blk,
}
Variants§
Trait Implementations§
Source§impl Clone for BlockExportType
impl Clone for BlockExportType
Source§fn clone(&self) -> BlockExportType
fn clone(&self) -> BlockExportType
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 BlockExportType
impl Debug for BlockExportType
Source§impl<'de> Deserialize<'de> for BlockExportType
impl<'de> Deserialize<'de> for BlockExportType
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 Enum for BlockExportType
impl Enum for BlockExportType
Source§impl FromStr for BlockExportType
impl FromStr for BlockExportType
Source§impl Hash for BlockExportType
impl Hash for BlockExportType
Source§impl Ord for BlockExportType
impl Ord for BlockExportType
Source§fn cmp(&self, other: &BlockExportType) -> Ordering
fn cmp(&self, other: &BlockExportType) -> 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 PartialEq for BlockExportType
impl PartialEq for BlockExportType
Source§impl PartialOrd for BlockExportType
impl PartialOrd for BlockExportType
Source§impl Serialize for BlockExportType
impl Serialize for BlockExportType
impl Copy for BlockExportType
impl Eq for BlockExportType
impl StructuralPartialEq for BlockExportType
Auto Trait Implementations§
impl Freeze for BlockExportType
impl RefUnwindSafe for BlockExportType
impl Send for BlockExportType
impl Sync for BlockExportType
impl Unpin for BlockExportType
impl UnwindSafe for BlockExportType
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