Enum neon::borrow::LoanError [−][src]
Expand description
An error produced by a failed loan in the Borrow
or BorrowMut
traits.
Variants
Indicates that there is already an outstanding mutable loan for the object at this address.
Indicates that there is already an outstanding immutable loan for the object at this address.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LoanError
impl !Send for LoanError
impl !Sync for LoanError
impl Unpin for LoanError
impl UnwindSafe for LoanError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more