pub struct ActorControl<MessageType: Send + Sync + 'static> {
pub channel: Sender<MessageType>,
pub join_handle: JoinHandle<()>,
}Fields§
§channel: Sender<MessageType>§join_handle: JoinHandle<()>Auto Trait Implementations§
impl<MessageType> Freeze for ActorControl<MessageType>
impl<MessageType> !RefUnwindSafe for ActorControl<MessageType>
impl<MessageType> Send for ActorControl<MessageType>
impl<MessageType> Sync for ActorControl<MessageType>
impl<MessageType> Unpin for ActorControl<MessageType>
impl<MessageType> !UnwindSafe for ActorControl<MessageType>
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