[][src]Enum kompact::prelude::TryDualLockError

pub enum TryDualLockError {
    LeftWouldBlock,
    RightWouldBlock,
    LeftPoisoned,
    RightPoisoned,
}

This error type is returned when on on_dual_definition fails, indicating that a proper lock could not be established on both components.

Variants

LeftWouldBlock

Indicates that the first component would block while waiting to be locked.

RightWouldBlock

Indicates that the second component would block while waiting to be locked.

LeftPoisoned

Indicates that the first component has had its mutex poisoned.

RightPoisoned

Indicates that the second component has had its mutex poisoned.

Trait Implementations

impl Debug for TryDualLockError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,