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_proxy(
    tree: &TreeProxy,
) -> Result<SnapshotTree, ReaderError>
 
pub async fn try_from_proxy( 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 + Clone>( tree: &T, lazy_child_timeout: Duration, timeout_counter: &UintProperty, ) -> 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
Source§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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
    D: ResourceDialect,
 
impl<T, D> Encode<Ambiguous1, D> for Twhere
    D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
    D: ResourceDialect,
 
impl<T, D> Encode<Ambiguous2, D> for Twhere
    D: ResourceDialect,
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more