pub enum OsRegValue {
Sz(String),
ExpandSz(String),
Binary(Vec<u8>),
DwordLe(u32),
DwordBe(u32),
Link(String),
MultiSz(Vec<String>),
}Expand description
Microsoft registry value.
Variants§
Sz(String)
Unicode string.
ExpandSz(String)
Unicode string that includes environment variables.
Binary(Vec<u8>)
Free-form binary.
DwordLe(u32)
Little-endian 32-bit integer.
DwordBe(u32)
Big-endian 32-bit integer.
Link(String)
Unicode string that contains a symbolic link.
MultiSz(Vec<String>)
Multiple Unicode strings.
Trait Implementations§
Source§impl Clone for OsRegValue
impl Clone for OsRegValue
Source§fn clone(&self) -> OsRegValue
fn clone(&self) -> OsRegValue
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 OsRegValue
impl Debug for OsRegValue
Source§impl From<&[u8]> for OsRegValue
impl From<&[u8]> for OsRegValue
Source§impl From<&str> for OsRegValue
impl From<&str> for OsRegValue
Source§impl From<String> for OsRegValue
impl From<String> for OsRegValue
Source§impl From<u32> for OsRegValue
impl From<u32> for OsRegValue
Source§impl Hash for OsRegValue
impl Hash for OsRegValue
Source§impl Ord for OsRegValue
impl Ord for OsRegValue
Source§fn cmp(&self, other: &OsRegValue) -> Ordering
fn cmp(&self, other: &OsRegValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OsRegValue
impl PartialEq for OsRegValue
Source§impl PartialOrd for OsRegValue
impl PartialOrd for OsRegValue
impl Eq for OsRegValue
impl StructuralPartialEq for OsRegValue
Auto Trait Implementations§
impl Freeze for OsRegValue
impl RefUnwindSafe for OsRegValue
impl Send for OsRegValue
impl Sync for OsRegValue
impl Unpin for OsRegValue
impl UnsafeUnpin for OsRegValue
impl UnwindSafe for OsRegValue
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