pub enum RuntimeCodecConfig {
Cbor,
Json,
}Variants§
Trait Implementations§
Source§impl Clone for RuntimeCodecConfig
impl Clone for RuntimeCodecConfig
Source§fn clone(&self) -> RuntimeCodecConfig
fn clone(&self) -> RuntimeCodecConfig
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 RuntimeCodecConfig
impl Debug for RuntimeCodecConfig
Source§impl Default for RuntimeCodecConfig
impl Default for RuntimeCodecConfig
Source§fn default() -> RuntimeCodecConfig
fn default() -> RuntimeCodecConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuntimeCodecConfig
impl<'de> Deserialize<'de> for RuntimeCodecConfig
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 RuntimeCodecConfig
impl PartialEq for RuntimeCodecConfig
Source§impl Serialize for RuntimeCodecConfig
impl Serialize for RuntimeCodecConfig
impl Copy for RuntimeCodecConfig
impl Eq for RuntimeCodecConfig
impl StructuralPartialEq for RuntimeCodecConfig
Auto Trait Implementations§
impl Freeze for RuntimeCodecConfig
impl RefUnwindSafe for RuntimeCodecConfig
impl Send for RuntimeCodecConfig
impl Sync for RuntimeCodecConfig
impl Unpin for RuntimeCodecConfig
impl UnsafeUnpin for RuntimeCodecConfig
impl UnwindSafe for RuntimeCodecConfig
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