pub struct FormatId(/* private fields */);Expand description
Extensible wire-format identifier used by codec registries.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FormatId
impl<'de> Deserialize<'de> for FormatId
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 From<&WireFormat> for FormatId
impl From<&WireFormat> for FormatId
Source§fn from(format: &WireFormat) -> Self
fn from(format: &WireFormat) -> Self
Converts to this type from the input type.
Source§impl From<WireFormat> for FormatId
impl From<WireFormat> for FormatId
Source§fn from(format: WireFormat) -> Self
fn from(format: WireFormat) -> Self
Converts to this type from the input type.
Source§impl Ord for FormatId
impl Ord for FormatId
Source§impl PartialOrd for FormatId
impl PartialOrd for FormatId
impl Eq for FormatId
impl StructuralPartialEq for FormatId
Auto Trait Implementations§
impl Freeze for FormatId
impl RefUnwindSafe for FormatId
impl Send for FormatId
impl Sync for FormatId
impl Unpin for FormatId
impl UnsafeUnpin for FormatId
impl UnwindSafe for FormatId
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