pub enum AsyncRwLockError {
StaleRwLock,
MemoryAllocationFailure,
Internal,
}Expand description
Error information returned by the AsyncRwLock API.
Variants§
StaleRwLock
A pending operation’s associated AsyncRwLock has been
dropped.
MemoryAllocationFailure
Memory allocation failure.
Internal
Internal error.
Trait Implementations§
Source§impl Clone for AsyncRwLockError
impl Clone for AsyncRwLockError
impl Copy for AsyncRwLockError
Source§impl Debug for AsyncRwLockError
impl Debug for AsyncRwLockError
Source§impl From<AsyncSemaphoreError> for AsyncRwLockError
impl From<AsyncSemaphoreError> for AsyncRwLockError
Source§fn from(value: AsyncSemaphoreError) -> Self
fn from(value: AsyncSemaphoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AsyncRwLockError
impl RefUnwindSafe for AsyncRwLockError
impl Send for AsyncRwLockError
impl Sync for AsyncRwLockError
impl Unpin for AsyncRwLockError
impl UnsafeUnpin for AsyncRwLockError
impl UnwindSafe for AsyncRwLockError
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