pub struct AcpActor { /* private fields */ }Expand description
Actor that owns the !Send ACP AgentSideConnection and processes requests
sequentially. Must be spawned on a LocalSet.
Implementations§
Source§impl AcpActor
impl AcpActor
pub fn new( conn: AgentSideConnection, request_rx: UnboundedReceiver<AcpRequest>, ) -> Self
Auto Trait Implementations§
impl !Freeze for AcpActor
impl !RefUnwindSafe for AcpActor
impl Send for AcpActor
impl Sync for AcpActor
impl Unpin for AcpActor
impl UnsafeUnpin for AcpActor
impl !UnwindSafe for AcpActor
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