Enum yrs::doc::TransactionAcqError
source · pub enum TransactionAcqError {
SharedAcqFailed(BorrowError),
ExclusiveAcqFailed(BorrowMutError),
DocumentDropped,
}
Variants§
ExclusiveAcqFailed(BorrowMutError)
DocumentDropped
Trait Implementations§
source§impl Debug for TransactionAcqError
impl Debug for TransactionAcqError
source§impl Display for TransactionAcqError
impl Display for TransactionAcqError
source§impl Error for TransactionAcqError
impl Error for TransactionAcqError
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()
source§impl From<BorrowError> for TransactionAcqError
impl From<BorrowError> for TransactionAcqError
source§fn from(e: BorrowError) -> Self
fn from(e: BorrowError) -> Self
Converts to this type from the input type.
source§impl From<BorrowMutError> for TransactionAcqError
impl From<BorrowMutError> for TransactionAcqError
source§fn from(e: BorrowMutError) -> Self
fn from(e: BorrowMutError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TransactionAcqError
impl RefUnwindSafe for TransactionAcqError
impl Send for TransactionAcqError
impl Sync for TransactionAcqError
impl Unpin for TransactionAcqError
impl UnwindSafe for TransactionAcqError
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