pub enum FrameSerializationFormat {
Bincode,
Json,
MessagePack,
Cbor,
}
Variants§
Bincode
Json
Available on crate feature
json
only.MessagePack
Available on crate feature
messagepack
only.Cbor
Available on crate feature
cbor
only.Trait Implementations§
source§impl Clone for FrameSerializationFormat
impl Clone for FrameSerializationFormat
source§fn clone(&self) -> FrameSerializationFormat
fn clone(&self) -> FrameSerializationFormat
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 FrameSerializationFormat
impl Debug for FrameSerializationFormat
source§impl<'de> Deserialize<'de> for FrameSerializationFormat
impl<'de> Deserialize<'de> for FrameSerializationFormat
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for FrameSerializationFormat
impl PartialEq for FrameSerializationFormat
source§impl Serialize for FrameSerializationFormat
impl Serialize for FrameSerializationFormat
impl Copy for FrameSerializationFormat
impl Eq for FrameSerializationFormat
impl StructuralPartialEq for FrameSerializationFormat
Auto Trait Implementations§
impl Freeze for FrameSerializationFormat
impl RefUnwindSafe for FrameSerializationFormat
impl Send for FrameSerializationFormat
impl Sync for FrameSerializationFormat
impl Unpin for FrameSerializationFormat
impl UnwindSafe for FrameSerializationFormat
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)