pub struct DebugInfoHandler { /* private fields */ }
Expand description
Debug info handler
Implementations§
Source§impl DebugInfoHandler
impl DebugInfoHandler
pub fn new(client: RestClient) -> Self
Sourcepub async fn create(&self, request: DebugInfoRequest) -> Result<DebugInfoStatus>
pub async fn create(&self, request: DebugInfoRequest) -> Result<DebugInfoStatus>
Start debug info collection
Sourcepub async fn status(&self, task_id: &str) -> Result<DebugInfoStatus>
pub async fn status(&self, task_id: &str) -> Result<DebugInfoStatus>
Get debug info collection status
Sourcepub async fn list(&self) -> Result<Vec<DebugInfoStatus>>
pub async fn list(&self) -> Result<Vec<DebugInfoStatus>>
List all debug info tasks
Auto Trait Implementations§
impl Freeze for DebugInfoHandler
impl !RefUnwindSafe for DebugInfoHandler
impl Send for DebugInfoHandler
impl Sync for DebugInfoHandler
impl Unpin for DebugInfoHandler
impl !UnwindSafe for DebugInfoHandler
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