pub struct Token { /* private fields */ }Expand description
Proof that this vCPU holds the serialization token; dropping it passes the token to the next waiting vCPU.
It owns a reference to the lock, so a VMM can keep it across loop
iterations, which it must do while
KvmTracer::holds_lifted_breakpoint
is true.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnsafeUnpin for Token
impl UnwindSafe for Token
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