1.0.0[−][src]Enum gluon_vm::gc::mutex::TryLockError
An enumeration of possible errors associated with a TryLockResult
which
can occur while trying to acquire a lock, from the try_lock
method on a
Mutex
or the try_read
and try_write
methods on an RwLock
.
Variants
Poisoned(PoisonError<T>)
The lock could not be acquired because another thread failed while holding the lock.
The lock could not be acquired at this time because the operation would otherwise block.
Trait Implementations
impl<T> Debug for TryLockError<T>
[src]
impl<T> Display for TryLockError<T>
[src]
impl<T> Error for TryLockError<T>
[src]
pub fn description(&self) -> &str
[src]
pub fn cause(&self) -> Option<&dyn Error>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
impl<T> From<PoisonError<T>> for TryLockError<T>
[src]
pub fn from(err: PoisonError<T>) -> TryLockError<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for TryLockError<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for TryLockError<T> where
T: Send,
T: Send,
impl<T> Sync for TryLockError<T> where
T: Sync,
T: Sync,
impl<T> Unpin for TryLockError<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for TryLockError<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<Id> AsId<Id> for Id where
Id: ?Sized,
[src]
Id: ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<'_, T> Captures<'_> for T
[src]
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
[src]
type Remainder = Choices
pub fn subset(
self
) -> Result<CNil, <Choices as CoproductSubsetter<CNil, HNil>>::Remainder>
[src]
self
) -> Result<CNil, <Choices as CoproductSubsetter<CNil, HNil>>::Remainder>
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
pub fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
[src]
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> DowncastArc for T where
T: Downcast + Send + Sync,
[src]
T: Downcast + Send + Sync,
impl<T> DowncastSync for T where
T: Send + Sync + Any,
[src]
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<D, T> FromPtr<D> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U, I> LiftInto<U, I> for T where
U: LiftFrom<T, I>,
[src]
U: LiftFrom<T, I>,
impl<Source> Sculptor<HNil, HNil> for Source
[src]
type Remainder = Source
pub fn sculpt(self) -> (HNil, <Source as Sculptor<HNil, HNil>>::Remainder)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,