pub struct Stashing<B: Behavior> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<B, A, Sends, Br> Behavior for Stashing<B>
impl<B, A, Sends, Br> Behavior for Stashing<B>
type Addr = A
type Msg = <B as Behavior>::Msg
type Event = <B as Behavior>::Event
type Sends = Sends
type Ph = Never
type Error = <B as Behavior>::Error
type Birth = Br
type Effect = Actions<A, Never, Sends, Br>
type Done = Exit<A>
async fn init(&mut self) -> Result<Self::Effect, B::Error>
async fn step(&mut self, event: B::Event) -> Result<Self::Effect, B::Error>
Auto Trait Implementations§
impl<B> Freeze for Stashing<B>where
B: Freeze,
impl<B> RefUnwindSafe for Stashing<B>
impl<B> Send for Stashing<B>
impl<B> Sync for Stashing<B>
impl<B> Unpin for Stashing<B>
impl<B> UnsafeUnpin for Stashing<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for Stashing<B>
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