Enum sttp::transport::OperationalEncoding
source · #[repr(u32)]
pub enum OperationalEncoding {
UTF16LE,
UTF16BE,
UTF8,
}
Expand description
Enumeration of the possible string encoding options of an STTP session.
Variants§
UTF16LE
👎Deprecated: STTP currently only supports UTF-8 string encoding.
Targets little-endian 16-bit Unicode character encoding for strings.
UTF16BE
👎Deprecated: STTP currently only supports UTF-8 string encoding.
Targets big-endian 16-bit Unicode character encoding for strings.
UTF8
Targets 8-bit variable-width Unicode character encoding for strings.
Trait Implementations§
source§impl Clone for OperationalEncoding
impl Clone for OperationalEncoding
source§fn clone(&self) -> OperationalEncoding
fn clone(&self) -> OperationalEncoding
Returns a copy 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 OperationalEncoding
impl Debug for OperationalEncoding
source§impl PartialEq<OperationalEncoding> for OperationalEncoding
impl PartialEq<OperationalEncoding> for OperationalEncoding
source§fn eq(&self, other: &OperationalEncoding) -> bool
fn eq(&self, other: &OperationalEncoding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.