Enum registry::Hive [−][src]
#[non_exhaustive] pub enum Hive { ClassesRoot, CurrentConfig, CurrentUser, CurrentUserLocalSettings, LocalMachine, PerformanceData, Users, // some variants omitted }
Expand description
All hives of the Windows Registry. Start here to get to a registry key.
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.
Implementations
pub fn open<P>(&self, path: P, sec: Security) -> Result<RegKey, Error> where
P: TryInto<U16CString>,
P::Error: Into<Error>,
pub fn write<P>(&self, file_path: P) -> Result<(), Error> where
P: TryInto<U16CString>,
P::Error: Into<Error>,
pub fn create<P>(&self, path: P, sec: Security) -> Result<RegKey, Error> where
P: TryInto<U16CString>,
P::Error: Into<Error>,
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Hive
impl UnwindSafe for Hive
Blanket Implementations
Mutably borrows from an owned value. Read more