pub struct AlreadyBorrowedMutError { /* private fields */ }
Expand description
An error that can occur when trying to borrow a value that has already been borrowed mutably.
Implementations§
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)>
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 AlreadyBorrowedMutError
impl PartialEq for AlreadyBorrowedMutError
impl Copy for AlreadyBorrowedMutError
impl StructuralPartialEq for AlreadyBorrowedMutError
Auto Trait Implementations§
impl Freeze for AlreadyBorrowedMutError
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