Enum zenoh::prelude::KnownEncoding
source · pub enum KnownEncoding {
Show 21 variants
Empty,
AppOctetStream,
AppCustom,
TextPlain,
AppProperties,
AppJson,
AppSql,
AppInteger,
AppFloat,
AppXml,
AppXhtmlXml,
AppXWwwFormUrlencoded,
TextJson,
TextHtml,
TextXml,
TextCss,
TextCsv,
TextJavascript,
ImageJpeg,
ImagePng,
ImageGif,
}
Expand description
The encoding of a zenoh Value
.
Variants§
Empty
AppOctetStream
AppCustom
TextPlain
AppProperties
AppJson
AppSql
AppInteger
AppFloat
AppXml
AppXhtmlXml
AppXWwwFormUrlencoded
TextJson
TextHtml
TextXml
TextCss
TextCsv
TextJavascript
ImageJpeg
ImagePng
ImageGif
Trait Implementations§
source§impl AsRef<str> for KnownEncoding
impl AsRef<str> for KnownEncoding
source§impl Clone for KnownEncoding
impl Clone for KnownEncoding
source§fn clone(&self) -> KnownEncoding
fn clone(&self) -> KnownEncoding
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 KnownEncoding
impl Debug for KnownEncoding
source§impl From<&KnownEncoding> for Encoding
impl From<&KnownEncoding> for Encoding
source§fn from(e: &KnownEncoding) -> Encoding
fn from(e: &KnownEncoding) -> Encoding
Converts to this type from the input type.
source§impl From<KnownEncoding> for &str
impl From<KnownEncoding> for &str
source§fn from(val: KnownEncoding) -> &str
fn from(val: KnownEncoding) -> &str
Converts to this type from the input type.
source§impl From<KnownEncoding> for Encoding
impl From<KnownEncoding> for Encoding
source§fn from(e: KnownEncoding) -> Encoding
fn from(e: KnownEncoding) -> Encoding
Converts to this type from the input type.
source§impl From<KnownEncoding> for usize
impl From<KnownEncoding> for usize
source§fn from(val: KnownEncoding) -> usize
fn from(val: KnownEncoding) -> usize
Converts to this type from the input type.
source§impl PartialEq<KnownEncoding> for KnownEncoding
impl PartialEq<KnownEncoding> for KnownEncoding
source§fn eq(&self, other: &KnownEncoding) -> bool
fn eq(&self, other: &KnownEncoding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u64> for KnownEncoding
impl TryFrom<u64> for KnownEncoding
source§impl TryFrom<u8> for KnownEncoding
impl TryFrom<u8> for KnownEncoding
impl Copy for KnownEncoding
impl Eq for KnownEncoding
impl StructuralEq for KnownEncoding
impl StructuralPartialEq for KnownEncoding
Auto Trait Implementations§
impl RefUnwindSafe for KnownEncoding
impl Send for KnownEncoding
impl Sync for KnownEncoding
impl Unpin for KnownEncoding
impl UnwindSafe for KnownEncoding
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.