Struct fuchsia_inspect::reader::snapshot::SnapshotTree
source · pub struct SnapshotTree { /* private fields */ }
Expand description
Contains the snapshot of the hierarchy and snapshots of all the lazy nodes in the hierarchy.
Implementations§
source§impl SnapshotTree
impl SnapshotTree
sourcepub async fn try_from(tree: &TreeProxy) -> Result<SnapshotTree, ReaderError>
pub async fn try_from(tree: &TreeProxy) -> Result<SnapshotTree, ReaderError>
Loads a snapshot tree from the given inspect tree.
pub async fn try_from_with_timeout<T: ReadableTree + Send + Sync>( tree: &T, lazy_child_timeout: Duration, ) -> Result<SnapshotTree, ReaderError>
Trait Implementations§
source§impl Debug for SnapshotTree
impl Debug for SnapshotTree
source§impl TryInto<DiagnosticsHierarchy> for SnapshotTree
impl TryInto<DiagnosticsHierarchy> for SnapshotTree
§type Error = ReaderError
type Error = ReaderError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for SnapshotTree
impl !RefUnwindSafe for SnapshotTree
impl Send for SnapshotTree
impl Sync for SnapshotTree
impl Unpin for SnapshotTree
impl !UnwindSafe for SnapshotTree
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