Struct decthings_api::rpc::terminal::TerminalRpc
source · pub struct TerminalRpc { /* private fields */ }
Implementations§
source§impl TerminalRpc
impl TerminalRpc
pub async fn launch_terminal_session( &self, params: LaunchTerminalSessionParams<'_> ) -> Result<LaunchTerminalSessionResult, DecthingsRpcError<LaunchTerminalSessionError>>
pub async fn terminate_terminal_session( &self, params: TerminateTerminalSessionParams<'_> ) -> Result<TerminateTerminalSessionResult, DecthingsRpcError<TerminateTerminalSessionError>>
pub async fn get_terminal_sessions( &self, params: GetTerminalSessionsParams<'_, impl AsRef<str> + Serialize> ) -> Result<GetTerminalSessionsResult, DecthingsRpcError<GetTerminalSessionsError>>
pub async fn write_to_terminal_session( &self, params: WriteToTerminalSessionParams<'_, impl AsRef<[u8]>> ) -> Result<WriteToTerminalSessionResult, DecthingsRpcError<WriteToTerminalSessionError>>
pub async fn resize_terminal_session( &self, params: ResizeTerminalSessionParams<'_> ) -> Result<ResizeTerminalSessionResult, DecthingsRpcError<ResizeTerminalSessionError>>
pub async fn subscribe_to_events( &self, params: TerminalSubscribeToEventsParams<'_> ) -> Result<TerminalSubscribeToEventsResult, DecthingsRpcError<TerminalSubscribeToEventsError>>
pub async fn unsubscribe_from_events( &self, params: TerminalUnsubscribeFromEventsParams<'_> ) -> Result<TerminalUnsubscribeFromEventsResult, DecthingsRpcError<TerminalUnsubscribeFromEventsError>>
Auto Trait Implementations§
impl Freeze for TerminalRpc
impl !RefUnwindSafe for TerminalRpc
impl Send for TerminalRpc
impl Sync for TerminalRpc
impl Unpin for TerminalRpc
impl !UnwindSafe for TerminalRpc
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