Struct TryReserveError

struct TryReserveError { ... }

The error type for try_reserve methods.

Implementations

impl TryReserveError

const fn kind(self: &Self) -> TryReserveErrorKind

Details about the allocation that caused the error

impl Clone for TryReserveError

fn clone(self: &Self) -> TryReserveError

impl Debug for TryReserveError

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

impl Display for TryReserveError

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

impl Eq for TryReserveError

impl Error for TryReserveError

impl Freeze for TryReserveError

impl From for TryReserveError

fn from(kind: TryReserveErrorKind) -> Self

impl PartialEq for TryReserveError

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

impl RefUnwindSafe for TryReserveError

impl Send for TryReserveError

impl StructuralPartialEq for TryReserveError

impl Sync for TryReserveError

impl Unpin for TryReserveError

impl UnwindSafe for TryReserveError

impl<T> Any for TryReserveError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for TryReserveError

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

impl<T> BorrowMut for TryReserveError

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

impl<T> CloneToUninit for TryReserveError

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for TryReserveError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for TryReserveError

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> ToString for TryReserveError

fn to_string(self: &Self) -> String

impl<T, U> Into for TryReserveError

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 TryReserveError

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

impl<T, U> TryInto for TryReserveError

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