pub struct AlreadyBorrowedError { /* private fields */ }
Expand description
An error that can occur when trying to borrow a value mutably that has already been borrowed immutably.
Implementations§
Trait Implementations§
Source§impl Clone for AlreadyBorrowedError
impl Clone for AlreadyBorrowedError
Source§fn clone(&self) -> AlreadyBorrowedError
fn clone(&self) -> AlreadyBorrowedError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AlreadyBorrowedError
impl Debug for AlreadyBorrowedError
Source§impl Display for AlreadyBorrowedError
impl Display for AlreadyBorrowedError
Source§impl Error for AlreadyBorrowedError
impl Error for AlreadyBorrowedError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for AlreadyBorrowedError
impl PartialEq for AlreadyBorrowedError
impl StructuralPartialEq for AlreadyBorrowedError
Auto Trait Implementations§
impl Freeze for AlreadyBorrowedError
impl RefUnwindSafe for AlreadyBorrowedError
impl Send for AlreadyBorrowedError
impl Sync for AlreadyBorrowedError
impl Unpin for AlreadyBorrowedError
impl UnwindSafe for AlreadyBorrowedError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more