pub enum Turn {
Ready(Result<TurnOutput, ActorFailure>),
Pending(BoxFuture<Result<TurnOutput, ActorFailure>>),
}Expand description
The result of starting a turn.
Variants§
Ready(Result<TurnOutput, ActorFailure>)
The turn is complete.
Pending(BoxFuture<Result<TurnOutput, ActorFailure>>)
The turn completes when this future does.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Turn
impl !Sync for Turn
impl !UnwindSafe for Turn
impl Forget for Turn
impl Freeze for Turn
impl Move for Turn
impl Send for Turn
impl Unpin for Turn
impl UnsafeUnpin for Turn
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