pub struct PtyActivity { /* private fields */ }Implementations§
Source§impl PtyActivity
impl PtyActivity
pub async fn new( activity_id: ActivityId, command: &str, ) -> Result<Self, AgentError>
pub async fn resize(&self, cols: u16, rows: u16) -> Result<(), AgentError>
pub async fn write(&self, data: &[u8]) -> Result<(), AgentError>
pub async fn shutdown(&self) -> Result<(), AgentError>
Auto Trait Implementations§
impl !Freeze for PtyActivity
impl !RefUnwindSafe for PtyActivity
impl Send for PtyActivity
impl Sync for PtyActivity
impl Unpin for PtyActivity
impl !UnwindSafe for PtyActivity
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