pub struct SupervisedChild {
pub id: ActorId,
pub spec: ChildSpec,
pub state: ChildState,
pub start_order: u32,
}Expand description
A child actor being supervised.
Fields§
§id: ActorIdActor ID.
spec: ChildSpecChild specification.
state: ChildStateCurrent state.
start_order: u32Order in which this child was started (for rest-for-one).
Trait Implementations§
Source§impl Clone for SupervisedChild
impl Clone for SupervisedChild
Source§fn clone(&self) -> SupervisedChild
fn clone(&self) -> SupervisedChild
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SupervisedChild
impl RefUnwindSafe for SupervisedChild
impl Send for SupervisedChild
impl Sync for SupervisedChild
impl Unpin for SupervisedChild
impl UnsafeUnpin for SupervisedChild
impl UnwindSafe for SupervisedChild
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