pub enum SnapshotReply {
Tree {
generation: Generation,
frame: FrameCount,
tree: RawTree,
},
Unchanged,
}Expand description
The answer to Snapshot.
Variants§
Tree
The tree as of a generation.
Fields
§
generation: GenerationThe generation it was recorded at.
§
frame: FrameCountThe frame count then.
Unchanged
The generation did not pass after before the wait ended.
Trait Implementations§
Source§impl Clone for SnapshotReply
impl Clone for SnapshotReply
Source§impl Debug for SnapshotReply
impl Debug for SnapshotReply
Source§impl<'de> Deserialize<'de> for SnapshotReply
impl<'de> Deserialize<'de> for SnapshotReply
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SnapshotReply
impl PartialEq for SnapshotReply
Source§impl Serialize for SnapshotReply
impl Serialize for SnapshotReply
impl StructuralPartialEq for SnapshotReply
Auto Trait Implementations§
impl Forget for SnapshotReply
impl Freeze for SnapshotReply
impl Move for SnapshotReply
impl RefUnwindSafe for SnapshotReplywhere
String: RefUnwindSafe,
impl Send for SnapshotReply
impl Sync for SnapshotReply
impl Unpin for SnapshotReply
impl UnsafeUnpin for SnapshotReply
impl UnwindSafe for SnapshotReply
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