pub struct ThreadUpdateBefore {
pub state: StateId,
/* private fields */
}Expand description
Durable before-image for a thread metadata + ref update.
Obtain this value with capture_thread_update_before and consume it with
save_thread_update. Only the captured state is exposed for callers that
need to shape the next thread state; the rest of the before-image stays
private.
Fields§
§state: StateIdAuto Trait Implementations§
impl Freeze for ThreadUpdateBefore
impl RefUnwindSafe for ThreadUpdateBefore
impl Send for ThreadUpdateBefore
impl Sync for ThreadUpdateBefore
impl Unpin for ThreadUpdateBefore
impl UnsafeUnpin for ThreadUpdateBefore
impl UnwindSafe for ThreadUpdateBefore
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