pub enum RegistryValue {
None,
String(String),
MultiString(Vec<String>),
Binary(Vec<u8>),
Dword(u32),
DwordBigEndian(u32),
Qword(u64),
}Expand description
Registry value data.
Variants§
None
No value (REG_NONE).
String(String)
String value (REG_SZ, REG_EXPAND_SZ, REG_LINK).
MultiString(Vec<String>)
Multi-string value (REG_MULTI_SZ).
Binary(Vec<u8>)
Binary data (REG_BINARY and others).
Dword(u32)
32-bit integer (REG_DWORD).
DwordBigEndian(u32)
32-bit big-endian integer (REG_DWORD_BIG_ENDIAN).
Qword(u64)
64-bit integer (REG_QWORD).
Implementations§
Trait Implementations§
Source§impl Clone for RegistryValue
impl Clone for RegistryValue
Source§fn clone(&self) -> RegistryValue
fn clone(&self) -> RegistryValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RegistryValue
impl Debug for RegistryValue
Source§impl PartialEq for RegistryValue
impl PartialEq for RegistryValue
impl StructuralPartialEq for RegistryValue
Auto Trait Implementations§
impl Freeze for RegistryValue
impl RefUnwindSafe for RegistryValue
impl Send for RegistryValue
impl Sync for RegistryValue
impl Unpin for RegistryValue
impl UnsafeUnpin for RegistryValue
impl UnwindSafe for RegistryValue
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