Enum SerializerError

enum SerializerError

See DatetimeSerializer

Variants

InvalidFormat(crate::DatetimeParseError)

Unsupported datetime format

InvalidProtocol

Unsupported serialization protocol

Implementations

impl Debug for SerializerError

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

impl Display for SerializerError

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

impl Error for SerializerError

fn custom<T>(_msg: T) -> Self
where
    T: Display

impl Error for SerializerError

impl Freeze for SerializerError

impl RefUnwindSafe for SerializerError

impl Send for SerializerError

impl Sync for SerializerError

impl Unpin for SerializerError

impl UnsafeUnpin for SerializerError

impl UnwindSafe for SerializerError

impl<T> Any for SerializerError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for SerializerError

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for SerializerError

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

impl<T> From for SerializerError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToString for SerializerError

fn to_string(self: &Self) -> String

impl<T, U> Into for SerializerError

fn into(self: 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 for SerializerError

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for SerializerError

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