#[non_exhaustive]pub enum Signal<'a> {
ChildFailed(Unspecified, &'a Error),
}Expand description
Signals generated by the actor system.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ChildFailed(Unspecified, &'a Error)
A child actor failed due to an error that was unhandled (or propagated) by it’s supervisor.
If this signal is not handled, the actor who receives it will fail with a death pact error.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Signal<'a>
impl<'a> !RefUnwindSafe for Signal<'a>
impl<'a> Send for Signal<'a>
impl<'a> !Sync for Signal<'a>
impl<'a> Unpin for Signal<'a>
impl<'a> !UnwindSafe for Signal<'a>
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