Enum project4::virtio::virt_queue::VirtQueueEntryCmd
source · #[repr(u32)]
pub enum VirtQueueEntryCmd {
Read,
Write,
}
Expand description
Command for the virtqueue.
Variants§
Trait Implementations§
source§impl Clone for VirtQueueEntryCmd
impl Clone for VirtQueueEntryCmd
source§fn clone(&self) -> VirtQueueEntryCmd
fn clone(&self) -> VirtQueueEntryCmd
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VirtQueueEntryCmd
impl Debug for VirtQueueEntryCmd
source§impl PartialEq<VirtQueueEntryCmd> for VirtQueueEntryCmd
impl PartialEq<VirtQueueEntryCmd> for VirtQueueEntryCmd
source§fn eq(&self, other: &VirtQueueEntryCmd) -> bool
fn eq(&self, other: &VirtQueueEntryCmd) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for VirtQueueEntryCmd
impl StructuralPartialEq for VirtQueueEntryCmd
Auto Trait Implementations§
impl RefUnwindSafe for VirtQueueEntryCmd
impl Send for VirtQueueEntryCmd
impl Sync for VirtQueueEntryCmd
impl Unpin for VirtQueueEntryCmd
impl UnwindSafe for VirtQueueEntryCmd
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
const: unstable§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more