pub enum NativePayloadCodec {
Json,
Bare,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NativePayloadCodec
impl Clone for NativePayloadCodec
Source§fn clone(&self) -> NativePayloadCodec
fn clone(&self) -> NativePayloadCodec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NativePayloadCodec
Source§impl Debug for NativePayloadCodec
impl Debug for NativePayloadCodec
impl Eq for NativePayloadCodec
Source§impl PartialEq for NativePayloadCodec
impl PartialEq for NativePayloadCodec
Source§fn eq(&self, other: &NativePayloadCodec) -> bool
fn eq(&self, other: &NativePayloadCodec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NativePayloadCodec
Auto Trait Implementations§
impl Freeze for NativePayloadCodec
impl RefUnwindSafe for NativePayloadCodec
impl Send for NativePayloadCodec
impl Sync for NativePayloadCodec
impl Unpin for NativePayloadCodec
impl UnsafeUnpin for NativePayloadCodec
impl UnwindSafe for NativePayloadCodec
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