#[repr(u32)]pub enum ObjectType {
Show 31 variants
None = 0,
Process = 1,
Thread = 2,
Vmo = 3,
Channel = 4,
Event = 5,
Port = 6,
Interrupt = 9,
PciDevice = 11,
Log = 12,
Socket = 14,
Resource = 15,
Eventpair = 16,
Job = 17,
Vmar = 18,
Fifo = 19,
Guest = 20,
Vcpu = 21,
Timer = 22,
Iommu = 23,
Bti = 24,
Profile = 25,
Pmt = 26,
SuspendToken = 27,
Pager = 28,
Exception = 29,
Clock = 30,
Stream = 31,
Msi = 32,
Iob = 33,
Counter = 34,
}Variants§
None = 0
Process = 1
Thread = 2
Vmo = 3
Channel = 4
Event = 5
Port = 6
Interrupt = 9
PciDevice = 11
Log = 12
Socket = 14
Resource = 15
Eventpair = 16
Job = 17
Vmar = 18
Fifo = 19
Guest = 20
Vcpu = 21
Timer = 22
Iommu = 23
Bti = 24
Profile = 25
Pmt = 26
SuspendToken = 27
Pager = 28
Exception = 29
Clock = 30
Stream = 31
Msi = 32
Iob = 33
Counter = 34
Implementations§
Trait Implementations§
Source§impl AsPlatform for ObjectType
impl AsPlatform for ObjectType
type PlatformType = ObjectType
fn as_platform(&self) -> Self::PlatformType
Source§impl FromPlatform<ObjectType> for ObjectType
impl FromPlatform<ObjectType> for ObjectType
fn from_platform(platform_type: ObjectType) -> Self
Source§impl IntoBytes for ObjType
impl IntoBytes for ObjType
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
impl Copy for ObjType
impl Eq for ObjType
impl StructuralPartialEq for ObjType
Auto Trait Implementations§
impl Freeze for ObjType
impl RefUnwindSafe for ObjType
impl Send for ObjType
impl Sync for ObjType
impl Unpin for ObjType
impl UnwindSafe for ObjType
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