Struct BorrowError
struct BorrowError { ... }
An error returned by RefCell::try_borrow.
Implementations
impl Debug for BorrowError
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Display for BorrowError
fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Error for crate::cell::BorrowError
impl Freeze for BorrowError
impl RefUnwindSafe for BorrowError
impl Send for BorrowError
impl Sync for BorrowError
impl Unpin for BorrowError
impl UnwindSafe for BorrowError
impl<T> Any for BorrowError
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for BorrowError
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for BorrowError
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for BorrowError
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for BorrowError
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for BorrowError
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for BorrowError
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>