pub struct SyncInfo {
pub release: *const AtomicU64,
pub release_compare: u64,
pub release_set: u64,
pub durable: *const AtomicU64,
pub flags: SyncFlags,
}
Expand description
Parameters for the kernel for syncing a mapping.
Fields§
§release: *const AtomicU64
Pointer to the wait word for transaction completion.
release_compare: u64
Value to compare against the wait word.
release_set: u64
Value to set if the wait word matches the compare value.
durable: *const AtomicU64
Pointer to wait word for durability return value.
flags: SyncFlags
Flags for this sync command.
Implementations§
Source§impl SyncInfo
impl SyncInfo
pub unsafe fn try_release(&self) -> Result<()>
pub unsafe fn set_durable(&self, err: impl Into<RawTwzError>)
Trait Implementations§
impl Copy for SyncInfo
impl Send for SyncInfo
impl Sync for SyncInfo
Auto Trait Implementations§
impl Freeze for SyncInfo
impl !ObjSafe for SyncInfo
impl RefUnwindSafe for SyncInfo
impl Unpin for SyncInfo
impl UnwindSafe for SyncInfo
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