#[non_exhaustive]#[repr(u8)]pub enum GuestOffloads {
Set = 0,
}
Expand description
Setting Offloads State commands
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Set = 0
Trait Implementations§
Source§impl Clone for GuestOffloads
impl Clone for GuestOffloads
Source§fn clone(&self) -> GuestOffloads
fn clone(&self) -> GuestOffloads
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 GuestOffloads
impl Debug for GuestOffloads
Source§impl From<GuestOffloads> for u8
impl From<GuestOffloads> for u8
Source§fn from(enum_value: GuestOffloads) -> Self
fn from(enum_value: GuestOffloads) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GuestOffloads
impl PartialEq for GuestOffloads
Source§impl TryFrom<u8> for GuestOffloads
impl TryFrom<u8> for GuestOffloads
Source§type Error = TryFromPrimitiveError<GuestOffloads>
type Error = TryFromPrimitiveError<GuestOffloads>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for GuestOffloads
impl TryFromPrimitive for GuestOffloads
const NAME: &'static str = "GuestOffloads"
type Primitive = u8
type Error = TryFromPrimitiveError<GuestOffloads>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for GuestOffloads
impl Eq for GuestOffloads
impl StructuralPartialEq for GuestOffloads
Auto Trait Implementations§
impl Freeze for GuestOffloads
impl RefUnwindSafe for GuestOffloads
impl Send for GuestOffloads
impl Sync for GuestOffloads
impl Unpin for GuestOffloads
impl UnwindSafe for GuestOffloads
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