pub struct Initialized<B: Behavior> {
pub behavior: Active<B>,
pub actions: Actions<B::Addr, B::Ph, B::Sends, B::Birth>,
}Expand description
An initialized behavior and the effects that must be interpreted before its first mailbox turn.
Fields§
§behavior: Active<B>§actions: Actions<B::Addr, B::Ph, B::Sends, B::Birth>Auto Trait Implementations§
impl<B> Freeze for Initialized<B>
impl<B> RefUnwindSafe for Initialized<B>where
B: RefUnwindSafe,
<B as Behavior>::Sends: RefUnwindSafe,
<B as Behavior>::Ph: RefUnwindSafe,
<B as Behavior>::Addr: RefUnwindSafe,
<<B as Behavior>::Addr as Address>::Nonce: RefUnwindSafe,
<<B as Behavior>::Birth as BirthMode>::Child: RefUnwindSafe,
impl<B> Send for Initialized<B>
impl<B> Sync for Initialized<B>
impl<B> Unpin for Initialized<B>
impl<B> UnsafeUnpin for Initialized<B>where
B: UnsafeUnpin,
<B as Behavior>::Sends: UnsafeUnpin,
<B as Behavior>::Ph: UnsafeUnpin,
<B as Behavior>::Addr: UnsafeUnpin,
impl<B> UnwindSafe for Initialized<B>where
B: UnwindSafe,
<B as Behavior>::Sends: UnwindSafe,
<B as Behavior>::Ph: UnwindSafe,
<B as Behavior>::Addr: UnwindSafe,
<<B as Behavior>::Addr as Address>::Nonce: UnwindSafe,
<<B as Behavior>::Birth as BirthMode>::Child: 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