pub struct PtyApi { /* private fields */ }Expand description
PTY API client.
Implementations§
Source§impl PtyApi
impl PtyApi
Sourcepub fn new(http: HttpClient) -> Self
pub fn new(http: HttpClient) -> Self
Create a new PTY API client.
Sourcepub async fn create(&self, req: &CreatePtyRequest) -> Result<Pty>
pub async fn create(&self, req: &CreatePtyRequest) -> Result<Pty>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PtyApi
impl !RefUnwindSafe for PtyApi
impl Send for PtyApi
impl Sync for PtyApi
impl Unpin for PtyApi
impl !UnwindSafe for PtyApi
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