UnpackOrderedSetError

Enum UnpackOrderedSetError 

Source
pub enum UnpackOrderedSetError<T, I, P> {
    Set(UnpackSetError<T, I, P>),
    Unordered,
}
Expand description

Error type raised when a semantic error occurs while unpacking an ordered set.

Variants§

§

Set(UnpackSetError<T, I, P>)

A set error.

§

Unordered

An unordered set.

Trait Implementations§

Source§

impl<T, I: Debug, P: Debug> Debug for UnpackOrderedSetError<T, I, P>

Source§

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

Formats the value using the given formatter. Read more
Source§

impl<T, I: Display, P: Display> Display for UnpackOrderedSetError<T, I, P>

Source§

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

Formats the value using the given formatter. Read more
Source§

impl<T, I, P> From<Infallible> for UnpackOrderedSetError<T, I, P>

Source§

fn from(err: Infallible) -> Self

Converts to this type from the input type.
Source§

impl<T, I, P> From<UnpackSetError<T, I, P>> for UnpackOrderedSetError<T, I, P>

Source§

fn from(value: UnpackSetError<T, I, P>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<T, I, P> Freeze for UnpackOrderedSetError<T, I, P>
where T: Freeze, I: Freeze, P: Freeze,

§

impl<T, I, P> RefUnwindSafe for UnpackOrderedSetError<T, I, P>

§

impl<T, I, P> Send for UnpackOrderedSetError<T, I, P>
where T: Send, I: Send, P: Send,

§

impl<T, I, P> Sync for UnpackOrderedSetError<T, I, P>
where T: Sync, I: Sync, P: Sync,

§

impl<T, I, P> Unpin for UnpackOrderedSetError<T, I, P>
where T: Unpin, I: Unpin, P: Unpin,

§

impl<T, I, P> UnwindSafe for UnpackOrderedSetError<T, I, P>
where T: UnwindSafe, I: UnwindSafe, P: UnwindSafe,

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.