#[repr(u8)]pub enum SerializerType {
Json = 1,
MsgPack = 2,
}Expand description
Message serialization algorithms
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SerializerType
impl Clone for SerializerType
Source§fn clone(&self) -> SerializerType
fn clone(&self) -> SerializerType
Returns a duplicate 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 SerializerType
impl Debug for SerializerType
Source§impl FromStr for SerializerType
impl FromStr for SerializerType
impl Copy for SerializerType
Auto Trait Implementations§
impl Freeze for SerializerType
impl RefUnwindSafe for SerializerType
impl Send for SerializerType
impl Sync for SerializerType
impl Unpin for SerializerType
impl UnwindSafe for SerializerType
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