pub struct AlreadyBorrowedMutError { /* private fields */ }Expand description
An error that can occur when trying to borrow a value that has already been borrowed mutably.
Trait Implementations§
source§impl Clone for AlreadyBorrowedMutError
impl Clone for AlreadyBorrowedMutError
source§fn clone(&self) -> AlreadyBorrowedMutError
fn clone(&self) -> AlreadyBorrowedMutError
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 AlreadyBorrowedMutError
impl Debug for AlreadyBorrowedMutError
source§impl Display for AlreadyBorrowedMutError
impl Display for AlreadyBorrowedMutError
source§impl Error for AlreadyBorrowedMutError
impl Error for AlreadyBorrowedMutError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
impl Copy for AlreadyBorrowedMutError
Auto Trait Implementations§
impl RefUnwindSafe for AlreadyBorrowedMutError
impl Send for AlreadyBorrowedMutError
impl Sync for AlreadyBorrowedMutError
impl Unpin for AlreadyBorrowedMutError
impl UnwindSafe for AlreadyBorrowedMutError
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