pub struct ActResult {
pub page_id: String,
pub node_ref: String,
pub epoch: u64,
pub diff: ObservationDiff,
pub repeats: u32,
}Expand description
The result of one BrowserPage::act.
Fields§
§page_id: String§node_ref: StringThe ref the action ran on.
epoch: u64The page’s epoch after the action. When it differs from diff.epoch_before, every earlier ref is
refused: use the refs in diff, or call observe for the whole tree.
diff: ObservationDiff§repeats: u32How many times in a row this same action has now run on this same ref with no diff (0 after a diff).
Trait Implementations§
Auto Trait Implementations§
impl Forget for ActResult
impl Freeze for ActResultwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ObservedNode>: Freeze,
PhantomData<String>: Freeze,
PhantomData<NodeChange>: Freeze,
impl Move for ActResult
impl RefUnwindSafe for ActResult
impl Send for ActResultwhere
RawVecInner: Send,
impl Sync for ActResultwhere
RawVecInner: Sync,
impl Unpin for ActResult
impl UnsafeUnpin for ActResultwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ObservedNode>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<NodeChange>: UnsafeUnpin,
impl UnwindSafe for ActResultwhere
RawVecInner: UnwindSafe,
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