Enum qapi_qmp::BlockExportType
source · 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 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 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<BlockExportType> for BlockExportType
impl PartialEq<BlockExportType> for BlockExportType
source§fn eq(&self, other: &BlockExportType) -> bool
fn eq(&self, other: &BlockExportType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<BlockExportType> for BlockExportType
impl PartialOrd<BlockExportType> for BlockExportType
source§fn partial_cmp(&self, other: &BlockExportType) -> Option<Ordering>
fn partial_cmp(&self, other: &BlockExportType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for BlockExportType
impl Serialize for BlockExportType
impl Copy for BlockExportType
impl Eq for BlockExportType
impl StructuralEq for BlockExportType
impl StructuralPartialEq for BlockExportType
Auto Trait Implementations§
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