Enum mut_rc::MutateError
source · pub enum MutateError {
BorrowMutError(BorrowMutError),
Finalized,
}Expand description
An error resulting from MutRc::with_mut.
Variants§
BorrowMutError(BorrowMutError)
The shared value is already borrowed.
This can be caused if the same shared value is accessed from within MutRc::with or MutRc::with_mut.
Finalized
There exists an aliasing Rc<T> returned by MutRc::finalize on the same shared value.