Enum crosvm_plugin::Stat

source ·
#[repr(u8)]
pub enum Stat {
Show 55 variants IoEvent = 0, MemoryGetDirtyLog = 1, IrqEventGetFd = 2, IrqEventGetResampleFd = 3, Connect = 4, DestroyConnection = 5, GetShutdownEvent = 6, CheckExtentsion = 7, EnableVmCapability = 8, EnableVcpuCapability = 9, GetSupportedCpuid = 10, GetEmulatedCpuid = 11, GetHypervCpuid = 12, GetMsrIndexList = 13, NetGetConfig = 14, ReserveRange = 15, ReserveAsyncWriteRange = 16, SetIrq = 17, SetIrqRouting = 18, GetPicState = 19, SetPicState = 20, GetIoapicState = 21, SetIoapicState = 22, GetPitState = 23, SetPitState = 24, GetClock = 25, SetClock = 26, SetIdentityMapAddr = 27, PauseVcpus = 28, Start = 29, GetVcpu = 30, VcpuWait = 31, VcpuResume = 32, VcpuGetRegs = 33, VcpuSetRegs = 34, VcpuGetSregs = 35, VcpuSetSregs = 36, GetFpu = 37, SetFpu = 38, GetDebugRegs = 39, SetDebugRegs = 40, GetXCRegs = 41, SetXCRegs = 42, VcpuGetMsrs = 43, VcpuSetMsrs = 44, VcpuSetCpuid = 45, VcpuGetLapicState = 46, VcpuSetLapicState = 47, VcpuGetMpState = 48, VcpuSetMpState = 49, VcpuGetVcpuEvents = 50, VcpuSetVcpuEvents = 51, NewConnection = 52, SetHypercallHint = 53, Count = 54,
}

Variants§

§

IoEvent = 0

§

MemoryGetDirtyLog = 1

§

IrqEventGetFd = 2

§

IrqEventGetResampleFd = 3

§

Connect = 4

§

DestroyConnection = 5

§

GetShutdownEvent = 6

§

CheckExtentsion = 7

§

EnableVmCapability = 8

§

EnableVcpuCapability = 9

§

GetSupportedCpuid = 10

§

GetEmulatedCpuid = 11

§

GetHypervCpuid = 12

§

GetMsrIndexList = 13

§

NetGetConfig = 14

§

ReserveRange = 15

§

ReserveAsyncWriteRange = 16

§

SetIrq = 17

§

SetIrqRouting = 18

§

GetPicState = 19

§

SetPicState = 20

§

GetIoapicState = 21

§

SetIoapicState = 22

§

GetPitState = 23

§

SetPitState = 24

§

GetClock = 25

§

SetClock = 26

§

SetIdentityMapAddr = 27

§

PauseVcpus = 28

§

Start = 29

§

GetVcpu = 30

§

VcpuWait = 31

§

VcpuResume = 32

§

VcpuGetRegs = 33

§

VcpuSetRegs = 34

§

VcpuGetSregs = 35

§

VcpuSetSregs = 36

§

GetFpu = 37

§

SetFpu = 38

§

GetDebugRegs = 39

§

SetDebugRegs = 40

§

GetXCRegs = 41

§

SetXCRegs = 42

§

VcpuGetMsrs = 43

§

VcpuSetMsrs = 44

§

VcpuSetCpuid = 45

§

VcpuGetLapicState = 46

§

VcpuSetLapicState = 47

§

VcpuGetMpState = 48

§

VcpuSetMpState = 49

§

VcpuGetVcpuEvents = 50

§

VcpuSetVcpuEvents = 51

§

NewConnection = 52

§

SetHypercallHint = 53

§

Count = 54

Trait Implementations§

source§

impl Clone for Stat

source§

fn clone(&self) -> Stat

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Stat

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for Stat

Auto Trait Implementations§

§

impl RefUnwindSafe for Stat

§

impl Send for Stat

§

impl Sync for Stat

§

impl Unpin for Stat

§

impl UnwindSafe for Stat

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.