pub enum PackFormat {
Bincode,
MessagePack,
Custom,
}Variants§
Trait Implementations§
Source§impl Clone for PackFormat
impl Clone for PackFormat
Source§fn clone(&self) -> PackFormat
fn clone(&self) -> PackFormat
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 PackFormat
impl Debug for PackFormat
Source§impl<'de> Deserialize<'de> for PackFormat
impl<'de> Deserialize<'de> for PackFormat
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 PackFormat
impl PartialEq for PackFormat
Source§impl Serialize for PackFormat
impl Serialize for PackFormat
impl Copy for PackFormat
impl Eq for PackFormat
impl StructuralPartialEq for PackFormat
Auto Trait Implementations§
impl Freeze for PackFormat
impl RefUnwindSafe for PackFormat
impl Send for PackFormat
impl Sync for PackFormat
impl Unpin for PackFormat
impl UnwindSafe for PackFormat
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