[−][src]Enum holly::actor::State
The processing state an actor transitions to after receiving a message.
Variants
Ready(A)
The actor is ready to accept more messages.
Stream(A, Box<dyn Stream<Item = T, Error = Void> + Send>)
The actor is ready to accept more messages and wants to add another stream of messages to its mailbox.
Close(A)
The actor wants to close its mailbox.
This will prevent other actors from sending any more messages to
this actor's address. All enqueued messages will still be
processed. Note that it is the actor's responsibility to close
streams added via State::Stream
.
Done
The actor has finished processing (terminal state).
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,