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
)