pub struct CodecPriority(pub u8);Tuple Fields§
§0: u8Trait Implementations§
Source§impl Clone for CodecPriority
impl Clone for CodecPriority
Source§fn clone(&self) -> CodecPriority
fn clone(&self) -> CodecPriority
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 CodecPriority
impl Debug for CodecPriority
Source§impl Default for CodecPriority
impl Default for CodecPriority
Source§fn default() -> CodecPriority
fn default() -> CodecPriority
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodecPriority
impl<'de> Deserialize<'de> for CodecPriority
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CodecPriority, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CodecPriority, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CodecPriority
impl PartialEq for CodecPriority
Source§impl Serialize for CodecPriority
impl Serialize for CodecPriority
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for CodecPriority
impl Eq for CodecPriority
impl StructuralPartialEq for CodecPriority
Auto Trait Implementations§
impl Freeze for CodecPriority
impl RefUnwindSafe for CodecPriority
impl Send for CodecPriority
impl Sync for CodecPriority
impl Unpin for CodecPriority
impl UnwindSafe for CodecPriority
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