Struct BorrowMutError

struct BorrowMutError { ... }

An error returned by RefCell::try_borrow_mut.

Implementations

impl Debug for BorrowMutError

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

impl Display for BorrowMutError

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

impl Error for crate::cell::BorrowMutError

impl Freeze for BorrowMutError

impl RefUnwindSafe for BorrowMutError

impl Send for BorrowMutError

impl Sync for BorrowMutError

impl Unpin for BorrowMutError

impl UnwindSafe for BorrowMutError

impl<T> Any for BorrowMutError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for BorrowMutError

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

impl<T> BorrowMut for BorrowMutError

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

impl<T> From for BorrowMutError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for BorrowMutError

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 BorrowMutError

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

impl<T, U> TryInto for BorrowMutError

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