pub struct ObservableSession { /* private fields */ }Implementations§
Source§impl ObservableSession
impl ObservableSession
pub fn current_observation(&self) -> SessionObservation
pub fn resume_from_cursor( &self, cursor: &SessionCursor, ) -> Result<SessionResume>
pub fn subscribe_from_cursor( &self, cursor: &SessionCursor, ) -> Result<SessionObservationSubscription>
pub fn session_id(&self) -> String
pub fn policy_snapshot(&self) -> SessionPolicy
pub fn read_view(&self) -> SessionReadView
pub fn usage_report(&self) -> SessionUsageReport
pub fn tool_state(&self) -> Option<ToolState>
pub fn active_tool_manifests(&self) -> Vec<ToolManifest>
pub async fn list_process_handles(&self) -> Vec<ProcessHandleSummary>
pub async fn list_all_process_handles(&self) -> Vec<ProcessHandleSummary>
pub fn process_scope(&self) -> SessionScope
Trait Implementations§
Source§impl Clone for ObservableSession
impl Clone for ObservableSession
Source§fn clone(&self) -> ObservableSession
fn clone(&self) -> ObservableSession
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ObservableSession
impl !UnwindSafe for ObservableSession
impl Freeze for ObservableSession
impl Send for ObservableSession
impl Sync for ObservableSession
impl Unpin for ObservableSession
impl UnsafeUnpin for ObservableSession
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