Struct DecodeMetadata

pub struct DecodeMetadata { /* private fields */ }

Metadata about the result of a decode operation

Trait Implementations

impl Debug for DecodeMetadata

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for DecodeMetadata

impl PartialEq for DecodeMetadata

fn eq(&self, other: &DecodeMetadata) -> bool

impl StructuralPartialEq for DecodeMetadata

Auto Trait Implementations

impl Freeze for DecodeMetadata

impl RefUnwindSafe for DecodeMetadata

impl Send for DecodeMetadata

impl Sync for DecodeMetadata

impl Unpin for DecodeMetadata

impl UnsafeUnpin for DecodeMetadata

impl UnwindSafe for DecodeMetadata

Blanket Implementations

impl<T> Any for DecodeMetadata where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for DecodeMetadata where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for DecodeMetadata where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for DecodeMetadata

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for DecodeMetadata where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for DecodeMetadata where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for DecodeMetadata where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>