Enum msr_core::storage::BinaryDataFormat
source · [−]pub enum BinaryDataFormat {
Bytes,
Utf8,
}
Expand description
Format of custom, binary data
Variants
Bytes
Arbitrary binary data
Serialized as Base64 with standard alphabet and no padding.
Utf8
Serialized UTF-8 data
A typical use case is the tunneling of UTF-8 JSON data.
Trait Implementations
sourceimpl Clone for BinaryDataFormat
impl Clone for BinaryDataFormat
sourcefn clone(&self) -> BinaryDataFormat
fn clone(&self) -> BinaryDataFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BinaryDataFormat
impl Debug for BinaryDataFormat
sourceimpl Default for BinaryDataFormat
impl Default for BinaryDataFormat
sourcefn default() -> BinaryDataFormat
fn default() -> BinaryDataFormat
Returns the “default value” for a type. Read more
sourceimpl PartialEq<BinaryDataFormat> for BinaryDataFormat
impl PartialEq<BinaryDataFormat> for BinaryDataFormat
sourcefn eq(&self, other: &BinaryDataFormat) -> bool
fn eq(&self, other: &BinaryDataFormat) -> bool
impl Copy for BinaryDataFormat
impl Eq for BinaryDataFormat
impl StructuralEq for BinaryDataFormat
impl StructuralPartialEq for BinaryDataFormat
Auto Trait Implementations
impl RefUnwindSafe for BinaryDataFormat
impl Send for BinaryDataFormat
impl Sync for BinaryDataFormat
impl Unpin for BinaryDataFormat
impl UnwindSafe for BinaryDataFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more