Enum stakker::StopCause [−][src]
Indicates reason for actor termination
In case of failure, this is not intended to provide a full backtrace of actor failures leading up to this failure. It only provides information on the immediate failure that occurred, to allow the actor receiving this indication to make a decision on what to do next.
To trace back exactly what happened, enable the logger feature
and record the Open
and Close
events.
Variants
Actor terminated using Cx::stop
Actor failed using Cx::fail
Actor was killed through ActorOwn::kill
Last owning reference to the actor was dropped
Lost the connection to a remote actor’s host. (This will be used when remote actors are implemented.)
Implementations
impl StopCause
[src]
pub fn has_error(&self) -> bool
[src]
Test whether this the actor died with an associated error,
i.e. Failed
or Killed
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for StopCause
impl !Send for StopCause
impl !Sync for StopCause
impl Unpin for StopCause
impl !UnwindSafe for StopCause
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,