pub struct SessionRpcDebug<'a> { /* private fields */ }Expand description
session.debug.* RPCs.
Implementations§
Source§impl<'a> SessionRpcDebug<'a>
impl<'a> SessionRpcDebug<'a>
Sourcepub async fn collect_logs(
&self,
params: DebugCollectLogsRequest,
) -> Result<DebugCollectLogsResult, Error>
pub async fn collect_logs( &self, params: DebugCollectLogsRequest, ) -> Result<DebugCollectLogsResult, Error>
Collects a redacted session debug log bundle into a local archive or staging directory. The runtime includes session-owned logs by default and accepts caller-provided diagnostic entries so host applications can add their own files without changing this API shape.
Wire method: session.debug.collectLogs.
§Parameters
params- Options for collecting a redacted session debug bundle.
§Returns
Result of collecting a redacted debug bundle.
Experimental. This API is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases. Pin both the SDK and CLI versions if your code depends on it.
Trait Implementations§
Source§impl<'a> Clone for SessionRpcDebug<'a>
impl<'a> Clone for SessionRpcDebug<'a>
Source§fn clone(&self) -> SessionRpcDebug<'a>
fn clone(&self) -> SessionRpcDebug<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for SessionRpcDebug<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SessionRpcDebug<'a>
impl<'a> !UnwindSafe for SessionRpcDebug<'a>
impl<'a> Freeze for SessionRpcDebug<'a>
impl<'a> Send for SessionRpcDebug<'a>
impl<'a> Sync for SessionRpcDebug<'a>
impl<'a> Unpin for SessionRpcDebug<'a>
impl<'a> UnsafeUnpin for SessionRpcDebug<'a>
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