Enum legion::world::EntityAccessError[][src]

pub enum EntityAccessError {
    AccessDenied,
    EntityNotFound,
}

Error type representing a failure to access entity data.

Variants

AccessDenied

Attempted to access an entity which lies outside of the subworld.

EntityNotFound

Attempted to access an entity which does not exist.

Trait Implementations

impl Debug for EntityAccessError[src]

impl Display for EntityAccessError[src]

impl Eq for EntityAccessError[src]

impl Error for EntityAccessError[src]

impl Hash for EntityAccessError[src]

impl PartialEq<EntityAccessError> for EntityAccessError[src]

impl StructuralEq for EntityAccessError[src]

impl StructuralPartialEq for EntityAccessError[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> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[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> 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.