Enum shipyard::error::Borrow[][src]

pub enum Borrow {
    Unique,
    Shared,
    WrongThread,
    MultipleThreads,
}

AtomicRefCell’s borrow error.

Variants

Unique

The Storage was borrowed when an exclusive borrow occured.

Shared

The Storage was borrowed exclusively when a shared borrow occured.

WrongThread

The Storage of a !Send component was accessed from an other thread.

MultipleThreads

The Storage of a !Sync component was accessed from multiple threads at the same time.

Trait Implementations

impl Clone for Borrow[src]

impl Copy for Borrow[src]

impl Debug for Borrow[src]

impl Display for Borrow[src]

impl Eq for Borrow[src]

impl Error for Borrow[src]

impl PartialEq<Borrow> for Borrow[src]

impl StructuralEq for Borrow[src]

impl StructuralPartialEq for Borrow[src]

Auto Trait Implementations

impl RefUnwindSafe for Borrow

impl Send for Borrow

impl Sync for Borrow

impl Unpin for Borrow

impl UnwindSafe for Borrow

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> From<T> for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?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.