pub enum FileEncoding {
String,
Hex2Bin,
Base64,
Binary,
}Expand description
The encoding used to interpret file content for NVS file entries.
String reads the file as UTF-8 text. Hex2Bin decodes hex-encoded
content. Base64 decodes base64-encoded content. Binary uses the
raw bytes directly.
Variants§
String
UTF-8 text.
Hex2Bin
Hex-encoded binary data.
Base64
Base64-encoded binary data.
Binary
Raw binary data.
Implementations§
Trait Implementations§
Source§impl Clone for FileEncoding
impl Clone for FileEncoding
Source§fn clone(&self) -> FileEncoding
fn clone(&self) -> FileEncoding
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 FileEncoding
impl Debug for FileEncoding
Source§impl Display for FileEncoding
impl Display for FileEncoding
Source§impl FromStr for FileEncoding
impl FromStr for FileEncoding
Source§impl PartialEq for FileEncoding
impl PartialEq for FileEncoding
impl Eq for FileEncoding
impl StructuralPartialEq for FileEncoding
Auto Trait Implementations§
impl Freeze for FileEncoding
impl RefUnwindSafe for FileEncoding
impl Send for FileEncoding
impl Sync for FileEncoding
impl Unpin for FileEncoding
impl UnsafeUnpin for FileEncoding
impl UnwindSafe for FileEncoding
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