Struct apocalypse::Location
source · pub struct Location<E: ?Sized> { /* private fields */ }Expand description
Demon’s location (to be able to send messages).
The Demon’s Location will be handed in by the Portal’s once the spawn is complete. You can clone the address in order to share it across threads. This structure’s only purpose is to help the portal know the types of the Input and Output that the Demon accespts.
Trait Implementations§
source§impl<E> PartialEq for Location<E>
impl<E> PartialEq for Location<E>
impl<E> Eq for Location<E>
Auto Trait Implementations§
impl<E: ?Sized> RefUnwindSafe for Location<E>where
E: RefUnwindSafe,
impl<E: ?Sized> Send for Location<E>where
E: Send,
impl<E: ?Sized> Sync for Location<E>where
E: Sync,
impl<E: ?Sized> Unpin for Location<E>where
E: Unpin,
impl<E: ?Sized> UnwindSafe for Location<E>where
E: UnwindSafe,
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