pub enum ObjectType {
Show 13 variants
Unknown = 0,
FileObject = 1,
ServiceObject = 2,
PrinterObject = 3,
RegistryKey = 4,
LmShare = 5,
KernelObject = 6,
WindowObject = 7,
DsObject = 8,
DsObjectAll = 9,
ProviderDefinedObject = 10,
WmiGuidObject = 11,
RegistryWow6432Key = 12,
}
Expand description
This enum is almost a direct mapping with the values described in SE_OBJECT_TYPE
Variants§
Unknown = 0
FileObject = 1
ServiceObject = 2
PrinterObject = 3
RegistryKey = 4
KernelObject = 6
WindowObject = 7
DsObject = 8
DsObjectAll = 9
ProviderDefinedObject = 10
WmiGuidObject = 11
RegistryWow6432Key = 12
Trait Implementations§
Source§impl Clone for ObjectType
impl Clone for ObjectType
Source§fn clone(&self) -> ObjectType
fn clone(&self) -> ObjectType
Returns a duplicate 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 ObjectType
impl Debug for ObjectType
Source§impl Display for ObjectType
impl Display for ObjectType
Source§impl From<ObjectType> for SE_OBJECT_TYPE
impl From<ObjectType> for SE_OBJECT_TYPE
Source§fn from(obj_type: ObjectType) -> Self
fn from(obj_type: ObjectType) -> Self
Converts to this type from the input type.
Source§impl From<u32> for ObjectType
impl From<u32> for ObjectType
Source§fn from(obj_type: SE_OBJECT_TYPE) -> Self
fn from(obj_type: SE_OBJECT_TYPE) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ObjectType
impl PartialEq for ObjectType
impl Copy for ObjectType
impl StructuralPartialEq for ObjectType
Auto Trait Implementations§
impl Freeze for ObjectType
impl RefUnwindSafe for ObjectType
impl Send for ObjectType
impl Sync for ObjectType
impl Unpin for ObjectType
impl UnwindSafe for ObjectType
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