pub struct DebugRpc { /* private fields */ }Implementations§
Source§impl DebugRpc
impl DebugRpc
pub async fn launch_debug_session( &self, params: LaunchDebugSessionParams<'_>, ) -> Result<LaunchDebugSessionResult, DecthingsRpcError<LaunchDebugSessionError>>
pub async fn get_debug_sessions( &self, params: GetDebugSessionsParams<'_, impl AsRef<str>>, ) -> Result<GetDebugSessionsResult, DecthingsRpcError<GetDebugSessionsError>>
pub async fn terminate_debug_session( &self, params: TerminateDebugSessionParams<'_>, ) -> Result<TerminateDebugSessionResult, DecthingsRpcError<TerminateDebugSessionError>>
pub async fn call_create_model_state<D>( &self, params: CallCreateModelStateParams<'_>, ) -> Result<CallCreateModelStateResult, DecthingsRpcError<CallCreateModelStateError>>
pub async fn call_instantiate_model( &self, params: CallInstantiateModelParams<'_, impl AsRef<[u8]>>, ) -> Result<CallInstantiateModelResult, DecthingsRpcError<CallInstantiateModelError>>
pub async fn call_train<D>( &self, params: CallTrainParams<'_>, ) -> Result<CallTrainResult, DecthingsRpcError<CallTrainError>>
pub async fn get_training_status( &self, params: DebugGetTrainingStatusParams<'_>, ) -> Result<DebugGetTrainingStatusResult, DecthingsRpcError<DebugGetTrainingStatusError>>
pub async fn get_training_metrics( &self, params: DebugGetTrainingMetricsParams<'_>, ) -> Result<DebugGetTrainingMetricsResult, DecthingsRpcError<DebugGetTrainingMetricsError>>
pub async fn cancel_training_session( &self, params: DebugCancelTrainingSessionParams<'_>, ) -> Result<DebugCancelTrainingSessionResult, DecthingsRpcError<DebugCancelTrainingSessionError>>
pub async fn call_evaluate( &self, params: CallEvaluateParams<'_>, ) -> Result<CallEvaluateResult, DecthingsRpcError<CallEvaluateError>>
pub async fn call_get_model_state( &self, params: CallGetModelStateParams<'_>, ) -> Result<CallGetModelStateResult, DecthingsRpcError<CallGetModelStateError>>
pub async fn download_state_data( &self, params: DownloadStateDataParams<'_, impl AsRef<str>>, ) -> Result<DownloadStateDataResult, DecthingsRpcError<DownloadStateDataError>>
pub async fn send_to_remote_inspector( &self, params: SendToRemoteInspectorParams<'_, impl AsRef<[u8]>>, ) -> Result<SendToRemoteInspectorResult, DecthingsRpcError<SendToRemoteInspectorError>>
pub async fn subscribe_to_events( &self, params: DebugSubscribeToEventsParams<'_>, ) -> Result<DebugSubscribeToEventsResult, DecthingsRpcError<DebugSubscribeToEventsError>>
pub async fn unsubscribe_from_events( &self, params: DebugUnsubscribeFromEventsParams<'_>, ) -> Result<DebugUnsubscribeFromEventsResult, DecthingsRpcError<DebugUnsubscribeFromEventsError>>
Auto Trait Implementations§
impl Freeze for DebugRpc
impl !RefUnwindSafe for DebugRpc
impl Send for DebugRpc
impl Sync for DebugRpc
impl Unpin for DebugRpc
impl UnsafeUnpin for DebugRpc
impl !UnwindSafe for DebugRpc
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